Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
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.
08 Mar 2018 22:51 UTC
-
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.
08 Mar 2018 08:59 UTC
-
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…
08 Mar 2018 08:53 UTC
-
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…
07 Mar 2018 23:23 UTC
-
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 …
06 Mar 2018 22:50 UTC
-
Churn mode - Not working with multiple threads?
Hi, thanks for sharing this. This shouldn't normally happen. Can you produce this consistently with any test in your suite? Does it happen when churning only one test?
06 Mar 2018 22:45 UTC
-
Some recommendation for how large test project should be?
Hi, thanks for posting. The problem with these kind of guidelines is that there are so many variables involved. For example, a large project with 100,000 lines may work reasonably well if it's using the NCrunch MSTest adapter set to static analysis (which is pretty fast) and there is a minimal…
06 Mar 2018 22:37 UTC
-
Execution time filter with console tool?
[quote=GreenMoose;11864]So, given I have the settings below, is it the "NCrunchCacheStoragePath " folder I need to "keep" between sessions in order for NCrunch to remember the previous test states? I guess this also will work with "when impacted" filter then? [quote] Yes, as long as you have the…
02 Mar 2018 22:31 UTC
-
Installing NCrunch 3.13 for VS2017 throws error on startup
Yes! Sorry, this is a known issue at the moment. Right now our MSIs can only target one installed version of VS, which it seems to select more or less at random. If you have multiple VS instances installed (i.e. a preview version), you'll need to install it manually. We did a bit of QA on the ne…
02 Mar 2018 22:28 UTC
-
Execution time filter with console tool?
Absolutely. The console tool is just a headless client, so it has access to all the same settings. The console tool works via automatic execution only, so as long as you set the 'Tests to run automatically' filter accordingly in the console tool's configuration, it will only run the tests that pas…
02 Mar 2018 12:45 UTC
-
Setting dialog icon for custom environment variables
Good catch, thank you!
02 Mar 2018 11:55 UTC
-
Is it possible to ignore/filter tests by execution time?
Hi Michael, Thanks for posting! Yes, this is certainly possible. You'll need to create a [url=http://www.ncrunch.net/documentation/concepts_engine-modes]custom engine mode[/url], which needs to have the [url=http://www.ncrunch.net/documentation/reference_solution-configuration_tests-to-execut…
02 Mar 2018 11:54 UTC
-
Filtered tests are stuck in 'Pending' status
Hi Nico, The 'Pending' status represents tests that haven't yet been executed. It's an assumption by NCrunch that a pending test will eventually be executed, though under your configuration this would not be possible (unless a grid node were connected without the configured constraint). So perh…
01 Mar 2018 23:39 UTC
-
Use Roslyn build
Hi Matt, Outstanding work in figuring this one out. Complex code in an attribute constructor will definitely cause this problem. Attribute constructors get called every time the attributes get enumerated using reflection, which can often result in accidental execution simply through meta-analys…
27 Feb 2018 22:34 UTC
-
Unit Test execution and data folders
The only files that NCrunch itself will normally copy to _ncrunchreferences are the DLLs that are being statically referenced by your code. If you have other files under this directory, then these files won't be copied directly by NCrunch. It's possible you have a malfunctioning build step or cust…
27 Feb 2018 01:58 UTC
-
Unit Test execution and data folders
Hi, thanks for posting. When it runs your tests, NCrunch will create a 'workspace' containing all your project files. This is essentially a sandbox in another area of your HDD. The project will be compiled in this workspace and any tests contained in it will also be run there. When the tests a…
26 Feb 2018 22:54 UTC
-
Meaning of Progress Bar display
[quote=cbretana;11847]This solution has 4-5000 tests, which normally only take a few minutes to complete. Is there some way to see which test might be the culprit?[/quote] Yes, you'll need to use the [url=http://www.ncrunch.net/documentation/concepts_processing-queue]Processing Queue Window[/url]…
25 Feb 2018 22:17 UTC
-
Meaning of Progress Bar display
The continuation of the bar is dependent on the test tasks in the processing queue being completed by the engine. If you have a big, long running test that is marked using the 'RequiredCapabilities' attribute or your engine is otherwise configured not to run it, this can result in a task being 's…
24 Feb 2018 21:58 UTC
-
Meaning of Progress Bar display
Hi, thanks for posting. The documented description of this bar is here: [url=http://www.ncrunch.net/documentation/concepts_risk-and-progress-bar]http://www.ncrunch.net/documentation/concepts_risk-and-progress-bar[/url]. The screenshot you've posted describes that around 70% of the work in NCru…
23 Feb 2018 23:07 UTC
-
Use Roslyn build
Hi Matt, Thanks for the CSV! This helps a great deal. So the bottleneck in this case is in NCrunch's code. The first thing I would recommend checking is that you're running the latest version of NCrunch (v3.12). This version contained a fix targeting this area of code, which in earlier vers…
23 Feb 2018 23:03 UTC