Forum member
tofutim
19 posts
Posts by tofutim
-
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…
08 Jul 2016 01:40 UTC
-
Including log4net Logging in Test output
I just want to also vote for log4net output in NCrunch.
08 Jul 2016 01:23 UTC
-
comparing algorithm performance
For the timing, I wonder if it is possible to get CPU time - amount of cpu cycles - instead of processing time.
29 Jan 2014 18:32 UTC
-
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.
29 Jan 2014 03:57 UTC
-
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...
29 Jan 2014 01:40 UTC
-
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
28 Jan 2014 02:26 UTC
-
comparing algorithm performance
Can you enable Copy out of the Datagrid so I can paste the timings into Excel?
28 Jan 2014 00:41 UTC
-
comparing algorithm performance
Is there any quick way of exporting timings to compare against future timings?
25 Jan 2014 17:33 UTC
-
comparing algorithm performance
Is it possible to use NCrunch to compare algorithm performance in terms of timing or memory?
25 Jan 2014 05:07 UTC
-
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]
17 Jan 2014 17:44 UTC
-
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.
17 Jan 2014 17:40 UTC
-
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]
08 Jan 2014 02:02 UTC
-
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…
03 Jan 2014 21:23 UTC
-
data directory relative to SolutionDir
The sln is http://forum.ncrunch.net/yaf_postst1113_NCrunch-OriginalSolutionPath-vs--NCrunchOriginalSolutionDir.aspx
03 Jan 2014 21:22 UTC
-
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
30 Dec 2013 23:14 UTC
-
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…
30 Dec 2013 22:30 UTC
-
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?
17 Dec 2013 02:06 UTC
-
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 …
16 Dec 2013 23:01 UTC
-
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 …
27 Aug 2012 18:05 UTC