Forum member
Remco NCrunch Developer
7611 posts
Posts by Remco
-
Dependency tests with NetArchTest failing
[quote=gwholdom;16661] I have both [Pre-load all assembly references into test environment] and [Copy referenced assemblies to workspace] set to true but still no dice. [/quote] Sorry for the confusion ... I just want to confirm. Does NCrunch not work when the 'Copy referenced assemblies to wo…
23 May 2023 08:33 UTC
-
Dependency tests with NetArchTest failing
Hi Grant, Thanks for sharing this issue. Looking at this particular framework and from what you've described, my expectation here is that the framework is taking responsibility for its own assembly loading, and as such would be fundamentally incompatible with NCrunch's optimisations. It mig…
23 May 2023 05:15 UTC
-
Tests discovery uses ALL memory available, without running tests
Thanks for these extra details. I think this was caused by some kind of display issue. It may be related to the saved UI layouts in the config files. If the problem is no longer bothering you, I'm happy to leave this be unless it appears for you again.
16 May 2023 12:24 UTC
-
Tests discovery uses ALL memory available, without running tests
Hi, thanks for sharing this issue. Can you confirm which physical process is responsible for the memory overrun? Task manager tends to aggregate memory usage for the entire tree, but there are many processes involved in an NCrunch session. If you expand the tree, it should be possible to see wh…
15 May 2023 23:24 UTC
-
Using NCrunch to test Blazor WASM using BUnit
Hi Jim, Thanks for opening up the sample project. I'm not sure if the sample project is fully representative of the project you're working in, but the source of the problem appears to be in your NCrunch configuration. The primary project has the 'Ignore this project completely' configuration …
15 May 2023 00:42 UTC
-
Using NCrunch to test Blazor WASM using BUnit
Hi Jim, Thanks for sharing this issue. For some reason, the sample project link doesn't seem to work for me. Are you still experiencing the problem? Do the main project and the test project both build to the same version of .NET?
12 May 2023 23:05 UTC
-
Trojan false positive in McAfee
Hi, thanks for sharing this issue. False positives do appear from time to time. There's a whole world full of AV products out there and occasionally they get things wrong. The vendors of AV products pretty much always have a form you can submit to declare that the file is a false positive. U…
11 May 2023 20:47 UTC
-
NCrunch is stucked during initialization
Ok, the next thing to try is a complete reset of VS settings, uninstall VS entirely, then reinstall: [dead link]. I'm hopeful this will solve the issue. If not, the next step will probably be a diagnostic build.
26 Apr 2023 23:26 UTC
-
NCrunch is stucked during initialization
OK - This narrows down the problem to VS itself. Could you try running VS using the following commandline? devenv.exe /rootsuffix Exp This should load VS with a different registry root, which will spawn an instance with the configuration entirely reset. My theory is that the problem is cau…
26 Apr 2023 12:36 UTC
-
NCrunch is stucked during initialization
When the console tool completes its run, it should output a bunch of reports under a subdirectory next to your solution file. This is where you can establish whether the run managed to load the projects and run through the tests (the console logging is not verbose enough to tell from the direct out…
26 Apr 2023 06:09 UTC
-
NCrunch is stucked during initialization
Could you try downloading the NCrunch console tool and checking whether this works on your system? This is looking like a problem with your environment. The console tool will tell us if this is something in the underlying toolset, or whether it's VS itself.
26 Apr 2023 04:53 UTC
-
NCrunch is stucked during initialization
Thanks for sending through the report. There is a surprising lack of error information in the log. We may need to do some further investigation on your side to try and narrow down what is happening here. Has NCrunch ever worked for you before on this system? If so, can you make any guesses o…
26 Apr 2023 00:57 UTC
-
NCrunch is stucked during initialization
Hi, thanks for sharing this issue. Could you submit a bug report shortly after trying to enable NCrunch? There's an option under the NCrunch menu that should allow you to do this. The bug report contains a log file that I hope will show me why the engine is failing to initialise.
25 Apr 2023 12:35 UTC
-
NCrunch fails to build UnitTests project
Thanks for sharing these extra details. This is very interesting. We actually got hit with this issue too (outside of NCrunch) when building some new environments recently. It seems that MS have started shipping versions of VS that sometimes don't have a package source configured on a clean insta…
18 Apr 2023 02:06 UTC
-
NCrunch fails to build UnitTests project
Hi, this problem looks like a Nuget dependency resolution issue. The specified package is required in the NCrunch test environment, but it isn't found on the machine. NCrunch does have a special initialisation step that will download these packages automatically, but we've noticed that for undet…
16 Apr 2023 10:25 UTC
-
NCrunch fails to build (and then test)
Great to hear we are getting closer on this one :) I suspect this issue may be caused by a dependency on a solution file that isn't in the NCrunch workspace. Does adding the .sln file to your NCrunch 'Additional files to include' setting resolve the issue?
14 Apr 2023 12:12 UTC
-
Hotspot bars are all zero length
[quote=jmwnoble;16600]Hi, I've come back to this issue because we never came up with an approach - did you have something specific in mind when you said "managing the async delays yourself so that the thread control is not transferred outside your own code" that would not require changes to the syst…
14 Apr 2023 12:08 UTC
-
NCrunch fails to build (and then test)
Thanks for sharing this issue. Could you try the build below and let me know if this solves the issue? This contains a fix we recently introduced for source generator references. I think this is worth trying before we delve in to take a deeper look. [url=https://s3.amazonaws.com/downloads.ncru…
11 Apr 2023 00:08 UTC
-
Speeding up nCrunch
Hi Jay, Thanks for posting. I wish I could give a straight answer on this one, as it depends very much on the nature of the tests you're running. There are pros and cons. The advantages of having a larger 16 core PC are: * Response times will be faster because no network sync is involved *…
08 Apr 2023 23:46 UTC
-
System.OutOfMemoryException in churn mode
[quote=spolonski;16583] Actually memory limit in x86 for .Net is about 600MB- 700MB :( [/quote] Usually it's a 2GB heap minus fragmentation in the process. If you have code allocating large objects with high frequency, this causes more fragmentation. Older versions of .NET are worse. If you'…
05 Apr 2023 23:27 UTC