Forum member

tofutim

19 posts

Posts by tofutim

  1. Including log4net Logging in Test output

    @pentop I figured it out. Instead of using the usual xml configuration, take a look at this StackOverflow: http://stackoverflow.com/questions/16336917/can-you-configure-log4net-in-code-instead-of-using-a-config-file This will allow you to setup log4net in code instead of the app.config. In my…

  2. Including log4net Logging in Test output

    I just want to also vote for log4net output in NCrunch.

  3. comparing algorithm performance

    For the timing, I wonder if it is possible to get CPU time - amount of cpu cycles - instead of processing time.

  4. NCrunch Forum My Topics does not work for me

    Aha, it is just me. I did not 'watch' any topics - though I thought authoring a topic would do the trick.

  5. NCrunch Forum My Topics does not work for me

    Maybe it is just me, but when I click on My Topics, I never get my topics. I know this isn't the perfect place, but just sayin...

  6. comparing algorithm performance

    That work too - but cut and paste out of the test window would let me add more columns into a preexisting xls

  7. comparing algorithm performance

    Can you enable Copy out of the Datagrid so I can paste the timings into Excel?

  8. comparing algorithm performance

    Is there any quick way of exporting timings to compare against future timings?

  9. comparing algorithm performance

    Is it possible to use NCrunch to compare algorithm performance in terms of timing or memory?

  10. How to show Chinese in Tests... window

    We do a lot of unit tests with Chinese. Is it possible to show the actual characters instead of unicode in the Tests.. window? [img]http://screencast.com/t/gT8PQraA[/img]

  11. does not exist in the current context

    Does it matter if I use another testing method? Like Microsoft's vs nunit. This is really aggravating.

  12. does not exist in the current context

    Do I need to switch to v2 for better await async support? I recently came across the following - when I tried to look at "words" during an NCrunch Debug I could not. [img](- BROKEN LINK -)[/img]

  13. The current SynchronizationContext may not be used as a TaskScheduler.

    In testing async methods, sometimes I add in to such issues: System.InvalidOperationException : The current SynchronizationContext may not be used as a TaskScheduler. at Microsoft.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at Microsoft.Runtime.CompilerServices.Task…

  14. data directory relative to SolutionDir

    The sln is http://forum.ncrunch.net/yaf_postst1113_NCrunch-OriginalSolutionPath-vs--NCrunchOriginalSolutionDir.aspx

  15. NCrunch.OriginalSolutionPath vs NCrunchOriginalSolutionDir

    http://www.ncrunch.net/documentation/troubleshooting_ncrunch-build-properties The documentation suggests that the environment variable is NCrunchOriginalSolutionDir but there is actually a period in there and Path instead of Dir

  16. data directory relative to SolutionDir

    This is a bit tricky. I have a rather large datafile (~100MB) that resides in my SolutionDir. In my current setup, my solution sits on a shared drive (z: = \\vmware-host\Shared Folders). However, NCrunch is run in the C: drive. I don't want to give my tests an absolute file, but rather a relative pa…

  17. Out-of-date code and project pick up

    Thanks for your efforts. Any idea why the Azure project loads in my teammate's VS and not in mine?

  18. Out-of-date code and project pick up

    I have this odd situation where my teammate and I who have nearly identical setup (VS2012, NCrunch latest 1.x) have slightly different results. On my machine, my Azure project never picks up, and on his it does. This wouldn't be so bad if it built, but it doesn't build, and worse, it fails building …

  19. static variables inside classes

    Hi, I recently ran into an issue using NCrunch where static variables for the class are shared across multiple tests when running in parallel - even tests that are in different files. For example, I have a class with public static bool logFile When the application starts, it is supposed to …