Forum member

GreenMoose

511 posts

Posts by GreenMoose

  1. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    Yeah closing NCrunch test window did it this time, it was a large amount of pending tests in it. Thanks.

  2. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    [quote=Remco;4303]The easiest issue to analyse here is the devenv.exe hanging on shutdown. If you have this happen to again, try spinning up a second instance of Visual Studio and attaching its debugger to the first instance. Break into the session and examine the list of running threads. Can you…

  3. ExcludeFromCodeCoverage not working for anonymous method.

    v1.46.0.20/NUnit v2.5.7.10213 [code=csharp] [Test] [ExcludeFromCodeCoverage] public void CanDoSomething() { Assert.IsTrue(true); var values = Enumerable.Range(0, 10) .Select(x => x); }[/code…

  4. Unpin covering tests

    Today there is a "pin covering tests" and "remove all pinned tests" but I miss a "unpin covering tests". This would be useful in "run only pined tests automatically" mode to unpin covering tests as you navigate your way in the source code.

  5. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    Ok, I have now closed the status indicator window and see no more such events, thanks. Regarding build times: I switched from "run impacted test automatically" to "run pinned tests automatically", restarted vstudio (several minutes before devenv.exe shuts down without me having to kill it) and bu…

  6. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    FWIW, after I tried re-enabled parallel tests NCrunch won't play nicely at all any longer, even with parallel execution disabled. For instance, building tiny 1 project which in vstudio takes 1-2 seconds for a "Rebuild", NCrunch displays a processing time of 40s. devenv.exe is now choking cpu, bu…

  7. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    > How many sets of tests do you normally run in parallel? What defines "sets of tests" ? > there a particular point (in max execution threads) at which you really start to notice the engine falling over? Yes, 2. As shown below though it isn't apparent when the issue is starting to appear. To …

  8. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    FWIW, I have noticed the following: * I tested it on a fairly small solution at another computer, could pretty easily repro the TestDataUpdatedEvent delays (no other devs are currently using NCrunch in my office). * It does not seem to differ if I have very small amount of documents opened in de…

  9. Support nunit [TestCase] attribute

    [quote=Remco;4242]This was introduced in NCrunch back in v1.36. When you have your [url=http://www.ncrunch.net/documentation/reference_solution-configuration_framework-utilisation-types]Framework utilisation type for NUnit[/url] set to 'DynamicAnalysis' (which is the default setting), it will split…

  10. Support nunit [TestCase] attribute

    Is it likewise hard to do to show the different test cases as different tests in the NCrunch Tests window? E.g. if I have a test with 5 test cases, I see only 1 test in NCrunch tests and I must re-run/debug all test cases to track down test failure caused by 1 specific test case. Also currently i…

  11. When is ncrunch cleaning its working directory?

    [quote=Remco;4238]... NCrunch will build workspaces as it needs them. Basically, when the engine needs to perform a task, it will check for an existing workspace that has been pre-created for the applicable project. If the workspace doesn't exist or all existing workspaces are in use (for example…

  12. When is ncrunch cleaning its working directory?

    I am using NCrunch on a ramdisk so space available is limited. When I peek to my ncrunch folder it looks something like this: [code=bash] Directory of n:\NCrunch\6208 2013-06-10 12:44 <DIR> 2 2013-06-10 12:44 <DIR> 1 2013-06-10 12:44 <DIR> 5 2013-06-…

  13. "Run x tests" pending but engine is idle?

    >Is there anything different about them? For example, are they making use of any special NCrunch attributes? (i.e. ExclusivelyUsesAttribute, SerialAttribute, etc). No >Does this show anything different or unique about the 46 tests still in the queue? "Test Runner" for inclusively used resources…

  14. "Run x tests" pending but engine is idle?

    [quote=Remco;4209]The next time you see this, can you submit a bug report?[/quote] Yes [quote=Remco;4209]Also, does manually running a single test kick the engine back into life?[/quote] No, not even restarting vstudio did the trick. disclaimer: My comp. is currently having some "general" OS…

  15. "Run x tests" pending but engine is idle?

    v1.45/vs2012 From time to time I get into cases where NCrunch is stopping to run tests automatically. I normally use engine mode "run impacted tests automatically" but I've tried switching between engine modes. I have a bunch of "Pending" status in NCrunch processing queue (run x tests), NCrun…

  16. Shortcut for rerunning "last session".

    In another test runner there is a "rerun last session" keyboard shortcut, meaning if I had selected 3 tests for debugging and process existed, rerunning last session would debug those 3 tests again. Often I want to debug a specific test, modify something or place new breakpoints and re-debug it.…

  17. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    So, currently I have closed ALL open documents, still I see below in NCrunch output taking about 1 minute or longer: [code=plain][10:00:54.5203-Core-59] Event [TestDataUpdatedEvent] took 00:00:04.9826027 to process on CORE thread when calling nCrunch.Client.Model.CoverageWatcher.testDataUpdated [1…

  18. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    [quote=Remco;4161] ... Try turning on the 'Log to output window' global configuration setting after you start up Visual Studio. A verbosity of 'Summary' should be fine. This means that NCrunch will start to report performance issues in a VS output window for you to observe. You might want to do…

  19. NCrunch gets sluggish after a while while devenv.exe having high cpu usage.

    I attached another studio-instance to the devenv.exe eating cpu. Looking at the thread which was consuming the cpu (according to process explorer at least) I found the below stack trace Is it normal that this should take considerable amount of cpu time? [code=plain] [Managed to Native Transitio…

  20. Some way of locating test "under cursor" in test window

    v1.45.0.12 Some times when I have many tests failing (or whatever reason my NCrunch Tests window has large no of tests visible) I have the cursor in the failing test in visual studio and want to see the test output. Now I want to locate this test in the test window. The only thing I know of i…