Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Process ... has exceeded its memory limit and will be terminated

    ... Sorry, I was also just thinking about how you mentioned NCrunch is enumerating every file on your disk. This could happen if you have a very broad wildcard include inside your project file. Make sure the project file doesn't include files that shouldn't be there. This is also a consideratio…

  2. Process ... has exceeded its memory limit and will be terminated

    Hi, thanks for sharing this issue. When NCrunch goes to load a project, it will import it into a standard MSBuild component that allows it to execute builds and query the parsed project file for information. This is the same MSBuild component used by Visual Studio when it loads or builds your pr…

  3. Inconclusive result in NUnit TestCaseSource

    Thanks Charlie. Last year NCrunch was updated to include decoupling between the test name and the test identifier (which needs to be unique). This allows it to deal with cases such as tests that exist in different projects but with the same namespace. At the time, I didn't see any way to apply th…

  4. NCrunch "pinned tests" engine mode causes vstudio to be slow (even with external process)

    Something else that might be worth trying .... When the problem is appearing, try holding down the button inside the JS file for a little while, so that VS grinds itself to a halt. Then try attaching the debugger from another VS instance. Break into the process and examine the stack trace for t…

  5. NCrunch "pinned tests" engine mode causes vstudio to be slow (even with external process)

    Thanks, this helps a lot. The JS file editing doesn't make much sense to me... but I'm wondering if you could try something regarding the tests window. If you set all the filters so that no data appears in the window, does it still cause you lag?

  6. NCrunch console doesn't run each test in its own process.

    Hi Sam, The behaviour in the console app in regards to this area should be technically the same as in the VS plugin, but it's possible that the difference in environment is causing race conditions to surface. There is no way NCrunch will ever run two tests concurrently within the same process, t…

  7. NCrunch "pinned tests" engine mode causes vstudio to be slow (even with external process)

    This will be difficult to narrow down. Sorry I'll need to ask some further questions to get an idea of what is happening here. - Can you reproduce this from a freshly opened VS instance? - Are you working in any files (particularly JS files) that are especially large? For example >3k lines of …

  8. Analyse Assembly fails on NCrunch grid nodes but I can't see why

    Thanks Ralf. Are you interested in trying the new 2.12 build that went out today? This build contains a fix for the 4.5.2 task hosting .. I have a feeling it will solve this problem. This build is now available on the [url=https://www.ncrunch.net/download]download page[/url].

  9. xUnit 2.0 Theory with nullable enum broken

    I'm sorry that my explanation of the issue was a bit brief. Probably it isn't really fair to ping this issue towards Brad as without more information there wouldn't be much he could do, and actually I'm not sure if it's necessarily his problem. Let me explain. NCrunch's default method of discov…

  10. NCrunch log4Net problem (Log files are getting locked by NCrunch)

    Hi, thanks for posting. NCrunch itself doesn't initiate or hold locks on these files - it has no knowledge of them. The locks are likely being held by your code under test. There are two likely possibilities here. The first is that the tests are running in parallel and making concurrent use …

  11. NCrunch 2.11 requires .NET framework 4.5.3

    It looks as though 4.5.2 is an in-place update over 4.5.1... At least, when constructing a 4.5.1 test environment on any machine with 4.5.2 installed, it seems to contain the same features and reference the same .NET assembly versions. So I guess for effective purposes, 4.5.2 is the same as 4.5.1…

  12. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    Ok, I've fixed this issue! The dev build below contains the fix: [url=http://downloads.ncrunch.net/NCrunch_Console_2.12.0.1.msi]http://downloads.ncrunch.net/NCrunch_Console_2.12.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_2.12.0.1.zip]http://downloads.ncrunch.net/NCrunch_Con…

  13. xUnit 2.0 Theory with nullable enum broken

    Thanks again for reporting this. After looking into the issue in detail, I've concluded that the problem lies in the way xUnit currently interprets test metadata being exposed through static analysis. I see no way to fix this within NCrunch itself. If using nullable enums in theory data is impo…

  14. Analyse Assembly fails on NCrunch grid nodes but I can't see why

    Hi Ralf, Thanks for sending the log file. This behaviour is very strange, as the processing queue indicates that there was an error in the Analysis Task, but the logs show no evidence of this. Probably this is related to the lack of .NET 4.5.2 task runner support. Do you experience this …

  15. xUnit 2.0 Theory with nullable enum broken

    Hi, Thanks for sharing this issue. I've easily managed to reproduce it using this code sample. I'll see what I can do about fixing it. Cheers, Remco

  16. NCrunch 2.11 requires .NET framework 4.5.3

    Hi Ralf, Thanks for the feedback on this. I'm looking to add 4.5.2 task runners soon.

  17. Analyse Assembly fails on NCrunch grid nodes but I can't see why

    Hi Ralf, Try setting your Log Verbosity to Detailed. Do you see new further information in the Processing Queue window after the analysis fails?

  18. Can't go to selected Test from NCrunch Tests Tool Window in VS 2015 CTP5

    Thanks, I've now managed to reproduce this problem. It seems to be caused by subtle differences in the IL generation between Roslyn and the unmanaged C++ compiler. It looks like Roslyn generates IL slightly differently inside constructors. NCrunch manually walks the IL in MSpec context construc…

  19. "Break into first failing test" does not work if line already has breakpoint

    Hi Ralf, Thanks for letting me know about this. I'll take a look and will see if I can sort it out. Cheers, Remco

  20. Latest point release does not accept my key

    Hi, thanks for posting. I'm sorry that you found the upgrade process painful. When v2 was released, the system was revised so that all license purchases would automatically come with 12 months of free upgrades to ALL released versions of NCrunch (major and minor). After this, you can choose t…