Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Support for detecting test failing because of concurrent test problems

    Thanks! This is well along the lines of what I was also thinking. NCrunch never executes tests concurrently within the same process, so all the parallel execution would need to be tracked at system level anyway (although it might be challenging to do this between two separate IDE instances).

  2. Cumulative Processing Time

    Hi, I'm just trying to visualise what you're after here ... Do you mean something like a cumulative total that adds its way down the Tests Window contents, summing up the Fixture and Test execution times? Is there a specific kind of performance problem that you're trying to find?

  3. Problems with code analysis after upgrade

    Hi Brett, Thanks for sharing this issue! Something seems strange about this error message - it's like NCrunch is missing a directory being referenced from your ruleset file? Can you check whether the ruleset file is being copied into the NCrunch workspace? You can do this by right clicking on …

  4. Strange FileNotFoundException

    With my limited knowledge of Ninject, I can only guess that for some reason this framework wants to take responsibility for loading assemblies into the application domain manually. In a certain perspective of IoC, this would make sense, as the dependencies of an application may not be under the dir…

  5. Generics in stacktraces

    This is an interesting idea, though it may be very difficult to implement. The stack traces that NCrunch works with all originate from the exception itself (i.e. after the explosion), and the only information provided here is in string form. So I guess the big question is whether there is any way …

  6. disable timeouts when debugging

    Thanks for the test case. This also triggered a time out for me, so there's definitely an issue here. It looks as though the Thread.Abort is being kicked up by NUnit. I'll need to do some digging to see if I can find a way to suppress this behaviour within NUnit. If you're using NCrunch as y…

  7. Strange FileNotFoundException

    Hi Daniel - Ninject is well known for its dynamic resolution of referenced assemblies, which can be a bit of a nightmare for a tool such as NCrunch. The first thing I would try in this situation is the [url=http://www.ncrunch.net/documentation/reference_project-configuration_preload-assembly-ref…

  8. disable timeouts when debugging

    In theory, NCrunch should already be doing this. Before attempting to abort test execution due to timeout, NCrunch will make a call to Debugger.IsAttached to see whether there is a debugger attached, and if so, it won't abort. The NUnit timeout mechanism relies on the version of NUnit that is bein…

  9. thank you

    Hi Sam! You made my day :) Cheers, Remco

  10. "go to selected test" extreamly slow when open a test file the first time

    Thanks Yang. Sadly this hasn't given us a smoking gun pointing at the problem, but it does narrow things down somewhat. When NCrunch tries to navigate to a document, it relies on a set of VS automation interfaces to pull up the list of documents and open the relevant document. Control then pass…

  11. NCrunch does not copy ExtensionSDK files

    Hi Leonid, Thanks for letting me know about this one! I'll see what I can do about fixing it properly in the next maintenance release. Cheers, Remco

  12. "go to selected test" extreamly slow when open a test file the first time

    Thanks Yang, that helps a lot! This line catches my attention: Not Flagged 5044 1 Main Thread Main Thread System.Array.Copy() Normal This would be the direct cause of the problem. The next time this happens, is there any chance you could grab a stack trace for this specific thread? If we c…

  13. Issue when using NCrunch with Code Contracts and Fody

    Hi Yang, This looks like a clash between NCrunch's instrumentation and Code Contracts' instrumentation. I'll note it down to be fixed in the next maintenance release. Thanks for sharing the sample code, this was very helpful in identifying the problem! Cheers, Remco

  14. "go to selected test" extreamly slow when open a test file the first time

    Hi Yang, Do you notice any patterns around memory utilisation or NCrunch when this happens? I.e. do you have a full test pipeline at the time? Are you making use of any source files that exist on shared network resources? i.e. mapped network drives? Does attempting to open a new source file…

  15. License and V2 Update

    Hi - You're correct in your understanding that in falling outside the 6 month period, you will need to pay 50% of the list price for a V2 upgrade. V2 of NCrunch is aimed for late this year, although the exact date of the release will depend upon a number of factors (i.e. stability, feature com…

  16. Support for detecting test failing because of concurrent test problems

    Thanks for the suggestion. Dealing with randomly failing tests is definitely a source of frustration with NCrunch (it affects me too), and I've been trying to think of ways to sort this out. The difficulty in reconstructing a full test run and test set up state is that when executing tests concu…

  17. AnalysisTask ERROR

    Hi, Thanks for sharing this issue. It looks to be a clash between NCrunch's performance analysis instrumentation and a particular IL arrangement or CLR security feature that applies to this specific situation. To work around this issue, set the [url=http://www.ncrunch.net/documentation/refere…

  18. VS2008 crashes when debugging

    Hi Sam, NCrunch itself doesn't tinker with the debugger outside of its own debug actions (i.e. when you instruct it to debug or break into a test), so as you've mentioned that this only started after NCrunch was installed, this leads me to suspect one of the following: - The installation of NC…

  19. NCruch crashes (instead of failing) when test code contains stack overflows

    Brilliant! Thanks for sharing that link, I think that many people will find it helpful. I will also continue with trying to implement a proper solution. Cheers, Remco

  20. Avoid creation of the *.ncrunchsolution.* files

    Hi, In theory, these files don't need to exist until NCrunch is enabled for the solution that's been opened. Thanks for reporting this .. I'll see if I can get it fixed. Cheers, Remco