Forum member

Remco NCrunch Developer

7611 posts

Posts by Remco

  1. Using NCrunch v2 restarts build all the time when using Distributed Proccessing

    This may be normal behaviour - I'll try to explain why this could be the case. NCrunch replicates build logic across servers in the grid. This means that if you are running a grid with 2 remote servers and local processing turned on, NCrunch will build your solution 3 times - once on each machin…

  2. Build failed with "SpecificVersion=True"

    Great stuff! I'm glad that did the trick! Something I can recommend is to also look at the defaults that are specified in your .csproj files for the $(Configuration) value. Visual Studio doesn't use these, but many other tools (such as NCrunch) do rely on them. Generally you want the default v…

  3. Using NCrunch v2 switching between Visual Studio 2012 and 2013 removes GridNodeAddresses

    Hi, thanks for posting! Just to clarify - are you running a different version of NCrunch across different versions of Visual Studio? i.e. NCrunch V1 in 2012 and V2 in 2013?

  4. Build failed with "SpecificVersion=True"

    Hi Keith, Thanks for sharing the extra info. I think we're getting closer on this. I'm wondering if you could share some more details on how your test projects are configured. My understanding is that you have at least one project in your solution that can build to either v2 or v4 of the .NE…

  5. NCrunch crashes - can submit crash dmp file?

    Great to hear! Stack overflows can be a bit of a nightmare to track down in a test environment. I guess this was the perfect storm with an overflow appearing inconsistently. I'm glad you tracked it down. Because it works using instrumentation, NCrunch's stack overflow detection is limited to o…

  6. NCrunch 1.x, 2.x build forever

    A way you can check whether this problem is caused by mass including of files would be to leave the machine running overnight, then check the size of your NCrunch workspaces in the morning after it's done a ton of processing. If the size of the workspace directory is unbelievably big, then there ma…

  7. NCrunch crashes - can submit crash dmp file?

    Ahh sorry. I just re-read your post and realised I must have been cross-eyed (<facepalm>). A link should be no problem. Drop it through the form and I'll be happy to take a look.

  8. NCrunch crashes - can submit crash dmp file?

    That is very, very strange. The other thing I would suggest is trying to comment out or deduct parts of the code under test to see if you can narrow down what's causing it. Are you executing any unmanaged code with your test? Unfortunately 18MB is a little too large for the contact form ... thi…

  9. NCrunch 1.x, 2.x build forever

    Sorry just one more thing I thought I'd suggest. I've noticed that you're running on the latest version of V1 (1.48), and thought it might be worth trying you out on the new beta build (V2.3). The beta build is pretty advanced now and I'd say its probably even more stable than V1. Certainly it do…

  10. NCrunch 1.x, 2.x build forever

    Thanks. The size of your solution and number of tests don't suggest anything out of the ordinary for NCrunch. Based on the fact that it does eventually build all the projects and there doesn't seem to be any specific issues showing the log file, I think this seems like purely a performance issue. …

  11. NCrunch crashes - can submit crash dmp file?

    Thanks Chris. The newest version of NCrunch V2, which was released a few hours after I responded to you above, actually has the hosted task runners removed because they were causing problems. If you're still seeing this crash, it's fairly certain that there is no relationship with unmanaged code…

  12. NCrunch crashes - can submit crash dmp file?

    Hi Chris - Unfortunately the dump file probably won't be of much use to me in narrowing down what is happening here. Have you noticed any pattern to the crash? Does it happen if you use NCrunch on another solution? Something to try is to set the [url=http://www.ncrunch.net/documentation/refe…

  13. NCrunch 1.x, 2.x build forever

    Thanks for submitting the reports. Just to clarify - the reports I'm seeing state that the solution build is extremely slow, but it does eventually seem to finish. Is this consistently what you're seeing? Or did it literally go forever in a neverending loop? Does the processing queue ever show a…

  14. TestCaseSource

    Hi, thanks for sharing the code. Something I just thought I'd check with you here is whether the .ToString() method on the Metric class returns a unique value for each Metric object. For NCrunch this is particularly important, as TestCaseSource relies on .ToString() to generate the name of each …

  15. NCrunch 2 - ArgumentOutOfRangeException Exception

    Great, thanks Ruben!

  16. Possible to hide 100%-covered nodes in statistics?

    Thanks, I'll see what I can do.

  17. Possible to hide 100%-covered nodes in statistics?

    Hi Peter - It's great to hear that your coverage is high enough for the 100% values to be getting in the way :) Before looking at implementing a specialised feature such as this, I'm wondering if I can suggest sorting the Metrics View descending by the 'Uncovered lines' column. You might find…

  18. TestCaseSource

    Hi, thanks for posting! Check that the generated tests each have a unique name. If this is found to be the case, It'd be great to learn more about how these tests are structured (and named) for me to help identify whether there are problems involved with how NCrunch is handling them. Cheers…

  19. NCrunch 2 - ArgumentOutOfRangeException Exception

    Hi Ruben - Thanks for sharing this issue. It looks to be caused by a column in the Tests Window that has somehow been set to a zero or negative size. I wasn't aware it was possible to physically do this in the UI - well done for discovering it. In theory, you should be able to get rid of thi…

  20. Distributed test failure due to api execution error

    Sadly, there may not be much else I can suggest in this case that will get this code to run on the grid node. If the API call requires the code to run as a desktop (non-service) application, the execution environment of the grid node simply cannot process it. I would recommend perhaps stubbing t…