Forum member

Remco NCrunch Developer

7586 posts

Posts by Remco

  1. Churn mode - Not working with multiple threads?

    [quote=GreenMoose;11916] Although, the coverage marking for failing test also shows the line for passing tests as failed, when I would expect it rather to be gray: [/quote] Yes, this looks like defective behaviour. NCrunch is discarding the passing results that were run in parallel with the fa…

  2. About NCrunch Shows "Copyright 2010-2016"

    Thanks, good catch :)

  3. Use Roslyn build

    [quote=mattyboy;11919] Just to add to this, it did seem like the amount of time NCrunch took to analyze was a lot longer than the Sleep time in my attribute. E.g. the sleep time was set to 10 seconds, but NCrunch's build step would take around 60 seconds. So the attribute must be enumerated multipl…

  4. Analysis of Visual Studio 2017 solution order of magnitude slower

    [quote=donners77;11914] I deleted the contents of the c:\ncrunch\ directory where I have configured the NCrunch storage cache path to. Is that what you meant? The long delay still occurs. There are approximately 5,000 unit tests (I can't see the exact number at the moment as it doesn't show ti…

  5. Analysis of Visual Studio 2017 solution order of magnitude slower

    Thanks, I have the log. At the moment this looks like the engine is stuck trying to sift through the processing queue to pick up new work. Roughly how many tasks do you usually have in the processing queue, and how many tests are there in your solution? Does clearing your NCrunch cache file hav…

  6. Analysis of Visual Studio 2017 solution order of magnitude slower

    [quote=donners77;11910]I've uploaded the start of the debug lines that came after the 10 minute pause via your contact form.[/quote] Thanks, I hope it gets through .. the contact form does have a size limit :( The most critical part of the log is the 10,000 odd lines after the extract you post…

  7. Analysis of Visual Studio 2017 solution order of magnitude slower

    When it reached the point where no lines were being written, were the tasks still sitting in progress in the Processing Queue Window?

  8. Analysis of Visual Studio 2017 solution order of magnitude slower

    This is interesting. The problem here doesn't look like it's in the actual build task itself, it's in the engine. The thread being used by the engine is being tied up by something for a full 12 minutes. Because the completion of the task is reliant on the engine to process it, it gets held up. …

  9. Analysis of Visual Studio 2017 solution order of magnitude slower

    Dependency 'Build TestHelperFs on (local)' 00:12:03.8791041 3/13/2018 10:51:13 PM 3/13/2018 11:03:17 PM Dependency 'Build LibBase on (local)' 00:11:59.5390420 3/13/2018 10:51:17 PM 3/13/2018 11:03:17 PM These two dependencies are taking about 12 minutes to build/analyse. You should be able t…

  10. Analysis of Visual Studio 2017 solution order of magnitude slower

    Hi Craig, Thanks for sharing this issue. The first thing I'd check is to make sure you're running the latest version of NCrunch. v3.12 introduced some critical performance improvements when dealing with analysis steps on large projects - if you are running an older version than this, I'd recomm…

  11. System.ArgumentNullException in NCrunch Tests window

    Hi, thanks for posting. This is probably a limitation from the use of static analysis when discovering MSTest DataRow tests. Transferring some types from the static domain into a dynamic one for runtime can sometimes be problematic. I'd suggest changing your 'Framework utilisation type for MSTe…

  12. NCrunch 3.13.0.7 gives intermittent UnexpectedArgumentMatcherException errors

    Hi, thanks for sharing this issue. Does the exception appear with any consistent stack trace? Are you able to get a debugger on it? (NCrunch itself has no integration with NSubstitute).

  13. NCrunch + NuGet PackageReference + PostSharp

    Hi Olaf, As long as the package root folder is left at its default (which I realise is different between users), the transfer should still work fine. The problem itself isn't caused by the package root being different, but rather by it being overridden. We have a situation where some parts of t…

  14. Churn mode - Not working with multiple threads?

    Here is the build with a fix for this issue. I'm keen to hear how it goes. [url=http://downloads.ncrunch.net/NCrunch_Console_3.15.0.1.msi]http://downloads.ncrunch.net/NCrunch_Console_3.15.0.1.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.15.0.1.zip]http://downloads.ncrunch.net/N…

  15. NCrunch + NuGet PackageReference + PostSharp

    Hi, thanks for posting! I appreciate the detail you've provided on your investigation into this issue. When NCrunch transfers solutions over to grid nodes, it needs to send the packages with them. This somewhat breaks the binding model that MS use for NuGet, which assumes that all machines bu…

  16. ASP.NET Core 2 App tries to build *.ts files despite being excluded in config

    Are you running the latest build of NCrunch? This looks like the problem introduced by VS2017.6 that we fixed in v3.13.

  17. Churn mode - How to stop

    Thanks for the feedback :) We're having an internal discussion on this to see if we can improve the usability a bit here.

  18. Churn mode - Not working with multiple threads?

    Thanks, I've managed to reproduce this as you've described it. It's being caused by the concurrency. Churn mode deactivates as soon as all targeted tests have failed, but the passing results still come after it and override the failure. We have a fix in the works that I'd like to publish for yo…

  19. ASP.NET Core 2 App tries to build *.ts files despite being excluded in config

    Hi, thanks for sharing this problem. Most likely, this project is set up so that the typescript files are always compiled during a normal build. So the problem here is likely to be not that NCrunch is building them, but rather that it's failing to do so. It looks like there are dependencies tha…

  20. Churn mode - How to stop

    There should be a window that appears in the corner of your screen, much like the 'Show coverage for these tests only' popup. This is the normal way to stop churn mode. The global option in the 'NCrunch' menu will also stop it. The 'stop' button does have some logic to stop the churn, though I …