Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Cannot debug tests with the 2.17 version

    I've managed to reproduce a state related issue that could cause intermittent problems when running tests with NUnit3. A fix for this issue is now available in NCrunch 2.19 - [url=http://www.ncrunch.net/download]http://www.ncrunch.net/download[/url].

  2. NCrunch does not ignore TestCase tests correctly with NUnit 3

    A fix for these issues is now available in NCrunch 2.19 - [url=http://www.ncrunch.net/download]http://www.ncrunch.net/download[/url].

  3. Can NCrunch be improved in the "analyze stage" somehow?

    The just-released NCrunch 2.19 includes several improvements targeting the performance of the analysis step - [url=http://www.ncrunch.net/download]http://www.ncrunch.net/download[/url].

  4. NUnit 3.0 and NCrunch 2.18 - test not executed during planned execution run

    A fix for this issue is now available in NCrunch 2.19 - [url=http://www.ncrunch.net/download]http://www.ncrunch.net/download[/url].

  5. enabled ncrunch but still not working

    Hi, thanks for posting. At the time NCrunch 2.13 was released, VS2015 was only in an early preview state. There were a number of changes in VS2015 between this point and its final release, including the decommissioning/renaming of a whole version of the .NET framework. Unfortunately, these chan…

  6. Infinit recursion during resource lookup within mscorlib

    Sorry, I'm out of ideas here. Without a way to reproduce this in a dev environment to discover the point of difference with NCrunch loaded, unfortunately I can't help with analysing this any further. The problem appears with NCrunch instrumentation disabled, so it must be an issue with the compi…

  7. .NET framework 4.6.1

    Hi, thanks or sharing this. I had thought that 4.6.1 was an over-the-top replacement for 4.6, but it looks like it's a whole new version of the framework that will need its own task runner. This means to get 4.6.1 to run inside your test environment, we'll need to add a new task runner to NCrunc…

  8. Quick second build losing code coverage?

    Ok - we're getting close on this now. The problem is being caused by an inconsistency in NCrunch's code coverage index. This is a very complex part of the product, so I'll need to learn a bit more about the conditions under which this invalid state can appear. - Does the problem appear only a…

  9. Quick second build losing code coverage?

    Ok - I have a theory on what may have happened here ... It's just a theory at this stage, and I'm wondering if you could try the following steps to test it out: 1. Keep restarting or working until the problem appears 2. Find a line of code that you know is covered by at least one passing test, a…

  10. C++ projects fail to build if path contains a space

    Gotcha - thanks. Do you have any record of which template the project files were created from? Changing the NCrunch workspace base path will let you work around this, but I think I can provide a better experience from the NCrunch side if I have a way to detect the project type.

  11. C++ projects fail to build if path contains a space

    Hi, thanks for sharing this issue. Can you confirm exactly which property in the build XML this applies to? Edit: Sorry, just realised you were referring to the actual build location (not a build property in the XML file). Does this mean that the NCrunch workspace base path is causing the probl…

  12. Quick second build losing code coverage?

    Thanks for sending through the bug report. Unfortunately there were no clear indications of any problem in this report :( I think we'll need to go back to more Q&A to try and isolate the problem. So here's the next wave of questions ... - Are any of the assemblies built from your solution sto…

  13. Infinit recursion during resource lookup within mscorlib

    Hi, VS2015 Update 1 was just released, along with .NET 4.6.1. I think this update would be worth trying - MS have fixed a great number of issues in this release, including the quoted x64 GC issue.

  14. NUnit Assert Not Failing Test (string comparison)

    Hi, thanks for sharing this issue. This looks to be the same issue - [url=http://forum.ncrunch.net/yaf_postst1721_NUnit-3-0-and-NCrunch-2-18---test-not-executed-during-planned-execution-run.aspx]http://forum.ncrunch.net/yaf_postst1721_NUnit-3-0-and-NCrunch-2-18---test-not-executed-during-planned-…

  15. When a test raises an ExecutionEngineException it crashes NCrunch

    [quote=abelb;8099]I'm impressed that you even tried that! Apparently you must have tried a more complex solution than I ever needed. While I have had similar experiences with SO exceptions, my requirements were simpler: the hosting process was used for one application only, that we develop ourselves…

  16. When a test raises an ExecutionEngineException it crashes NCrunch

    Earlier versions of NCrunch did actually implement a CLR host in C++, with the main intention of this being to be able to detect and report stack overflow exceptions via an SEH block, prior to tearing the process down and continuing the test run in a new process. I couldn't find a way to implemen…

  17. When a test raises an ExecutionEngineException it crashes NCrunch

    [quote=abelb;8092]I'm aware that an ExecutionEngineException usually means something is terribly wrong and since in this particular case I only run proper .NET MSIL tests, this may appear to be a bug in .NET's Core CLR or JIT itself. Nevertheless, I thought you'd want to know that if this happens, t…

  18. Stuck when starting to build

    Thanks Julian. Is there any chance you could get me a thread dump from the nCrunch.BuildHost.451.x86.exe process? This dump looks like it's from the engine process, which isn't responsible for running the build. Something else worth trying is to set the 'Build process CPU architecture' (NCrunch…

  19. NCrunch does not ignore TestCase tests correctly with NUnit 3

    Ok, I think I've managed to corner this issue. NCrunch is using the state from the previous test discovery run when it decides which tests to queue after it is initialised. If the codebase has changed (i.e. the categories of tests have changed) between when the engine was last shut down and when i…

  20. NCrunch does not ignore TestCase tests correctly with NUnit 3

    I think this may be happening because of the mechanics of how NCrunch manages tests inside the processing queue. When a change is made to the codebase, NCrunch will immediately queue any tests that have potential relevance to the change. This happens before any projects are built, or any analysi…