Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

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

    Ok, I think we're getting close here :) At my end I've identified a problem where files that have been set to be excluded from auto-build aren't being handled properly. It seems that when these files are changed, the builds aren't queued but the tests still are. This creates a situation that ca…

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

    Ok - that does explain the behaviour you're seeing :) NCrunch will re-use test runners for multiple tests. This is by design as building a whole new environment for each individual test causes very poor performance. This means that in your design, you will have tests re-using the same ID if the…

  3. NCrunch doesn't recognise new tests

    Hi, thanks for sharing this issue. If you create a new solution with a single test project and a dummy test, do you experience the same issue? What is the nature of the build failure you experience under NCrunch?

  4. Webjobs.wap.targets file causing build failure

    Hi Chris, This is likely due to failed automatic resolution of the task DLL file used by the webjob. Try including the Microsoft.Web.WebJobs.Publish.1.0.2 package directory in the project using the 'Additional files to include' project-level configuration - [url=http://www.ncrunch.net/document…

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

    [quote=chrboum;6868] I figured it is our build sending NCrunch into the weeds. The project XML are practically empty because all of the logic lives elsewhere. I'll need to dig deeper. There are quite a few conditionals around BuildingInVisualStudio, and I am trying to determine what our build op…

  6. 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…

  7. 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…

  8. 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…

  9. 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…

  10. 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?

  11. 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…

  12. 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 …

  13. 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].

  14. 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…

  15. 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 …

  16. 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…

  17. 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…

  18. 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…

  19. 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 …

  20. 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