Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
All tests failed due to unexpected error
Hi Alex, When you run the tests with a debugger, do they return to the runner with the expected result? (i.e. does the runner work correctly?) Do you experience this problem with any other .NET Core solutions on your machine? If you create a sample .NET Core test framework using the same test…
02 Nov 2017 06:18 UTC
-
All tests failed due to unexpected error
Hi Alex, Thanks for sharing this issue. This problem is occurring because something is taking out the nCrunch.TestHost process responsible for running your tests. The timing of the error suggests that this is happening during test execution. I find it interesting that after a fresh reset, the …
01 Nov 2017 10:18 UTC
-
Manually associated test fixture with dependent class
I have a feeling that you may have discovered a hole in the impact detection. Probably you made a change to a code structure in a way that the impact detection couldn't detect, so nothing was run. If it's happened to you once, it'll likely happen again. If you can identify the hole and discover…
31 Oct 2017 10:27 UTC
-
Manually associated test fixture with dependent class
Hi Daniel, Thanks for posting. Just to clarify, are you talking about the 'Run impacted tests automatically, others manually' mode? (The run all tests automatically runs everything regardless of impact detection). Can you share any more details around how the metadata classes are utilised …
31 Oct 2017 04:13 UTC
-
Building Large Source Trees Spanning Solutions
Hi Kaleb, Thanks for posting! When NCrunch creates a workspace for your project, it does so with consideration to upwards relative references by padding out the workspace directory. In this way, all dependencies should be contained completely within the workspace. It's not clear to me why …
30 Oct 2017 22:21 UTC
-
NCrunch fails to build project / post build
Hi Rainer, I was about to ask whether the batch files were both included in the project :) NCrunch doesn't change the way build events are executed, so my first guess as to why this is not working is that the batch files are not being copied to the workspace. By including them in the project …
27 Oct 2017 22:05 UTC
-
MsTest v2 DataRowAttribute: null is ignored if last of two parameter
Hi Erik, Thanks for sharing this problem. A fix for this one is coming in the next release, so hopefully you'll see the last of it soon.
26 Oct 2017 21:08 UTC
-
NCrunch fails to build project / post build
Hi Rainer, Thanks for sharing this problem. By default, NCrunch will disable post build events because usually these involve logic that aren't required for tests to run. Are these needed for your tests to be run on the project in question? Is it safe to simply disable them using the [url=h…
26 Oct 2017 21:07 UTC
-
NCrunch cannot discover tests due to serialization issues
[quote=zvirja;11418] P.S. Thank you for the great product you are making. It totally changed my coding experience and now it's hard to imagine my life without this tool.[/quote] Thank you for your efforts on AutoFixture! :)
25 Oct 2017 20:43 UTC
-
NetCore2 projects don't get X on exception lines
[quote=piero;11416] The NCrunch Tests Window is able to display the full error message still, so is not just a case of updating the UI for the inline crosses & errors to appear? If you couldn't handle portable PDBs then surely I wouldn't be able to see any of these errors?[/quote] Exception trac…
25 Oct 2017 08:13 UTC
-
NCrunch Console Exits With Code 2
[quote=simongh;11412] However, I have found a test that isn't being run. NCrunch is reporting "This test was not executed during a planned execution run. Ensure your test project is stable and does not contain issues in initialisation/teardown fixtures.". The good news is I've seen this same test …
24 Oct 2017 21:53 UTC
-
NetCore2 projects don't get X on exception lines
Hi piero, Thanks for your input here. We're working hard to resolve this. The suddenness of this issue appears to be related to a significant change in the MS toolset that has made it impossible to build non-portable PDBs on many systems under .NET Core. As I'm not sure about the reason for th…
24 Oct 2017 21:49 UTC
-
.NET 4.7.1 Support
[quote=Fasopus;11403]The specific feature we were targeting in 4.7.1 was the improved Net Standard 2.0 support, allowing a large number of binding redirects to be removed and trimming down the size of our build output. [/quote] Thanks, I'll let you know as soon as I have a build available with 4.…
24 Oct 2017 11:50 UTC
-
Build fails, but in broken state, no tests running
It always catches me by surprise when we post at the same time :) This is a known issue that affects some solutions. It's caused by a regression in 3.11. Try the build below. This contains a fix for the issue, along with a few performance improvements: [url=http://downloads.ncrunch.net/NCru…
24 Oct 2017 11:49 UTC
-
Build fails, but in broken state, no tests running
Hi, thanks for sharing this problem. Probably the build for the .NET class library has hung or terminated unexpectedly. Is there any information showing for this project in the Processing Queue Window?
24 Oct 2017 11:47 UTC
-
NCrunch Console Exits With Code 2
[quote=simongh;11400]I suspect this might be the cause. We use a config file on the build agent that specifies the cache folder. The same cache was used for all builds, so presumably if a test fails in a build & that test is not in the other builds, then those build will also fail with the exit code…
24 Oct 2017 11:45 UTC
-
NCrunch does not honor the max timeout and runs tests forever
Wow, thanks for the detailed analysis of the new build! It's awesome to see those improvements. I admit I was quite optimistic after making these changes. The eagerness of the engine to bunch too many tests into a single task is related to how the engine tracks the execution time of each test. …
24 Oct 2017 00:00 UTC
-
.NET 4.7.1 Support
Hi, thanks for posting. This will be in the next release of NCrunch, expected in about 2-4 weeks. Is there anything in the new version of .NET that you specifically require?
23 Oct 2017 23:42 UTC
-
NCrunch does not honor the max timeout and runs tests forever
Try the build below. This build includes all described fixes: [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.4.msi]http://downloads.ncrunch.net/NCrunch_Console_3.12.0.4.msi[/url] [url=http://downloads.ncrunch.net/NCrunch_Console_3.12.0.4.zip]http://downloads.ncrunch.net/NCrunch_Consol…
22 Oct 2017 08:51 UTC
-
NCrunch Console Exits With Code 2
Hi, thanks for posting. The NCrunch console tool will report this status if it detects a test inside NCrunch's internal cache with a failed status. This may not necessarily have been a test from within your actual run, it may be a test that was previously run by NCrunch, then stored in its .cach…
21 Oct 2017 23:08 UTC