Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
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: [url=https://superuser.com/questions/1663409/how-to-fully-reset-all-visual-studio-settings-to-factory-defaults]https://superuser.com/questions/1663409/how-to-fully-reset-all-visual-studio-settings-to…
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
-
System.OutOfMemoryException in churn mode
Hi, thanks for sharing this issue. Do you still experience this problem when running the test with the 'Test Process Memory Limit' NCrunch config setting set to something sensible? My guess here would be that accumulated memory in the process is pushing it past the x86 2GB memory limit. Setting…
04 Apr 2023 23:33 UTC
-
Build fails with project reference outside solution root
[quote=RichardHauer;16574] Well the workaround is a PITA and I would prefer not to have to do this every time. Happy to share the build logs but there's not too much to see from my initial take - the project in question was not even mentioned in the log at all! Note that while I'm happy to share…
04 Apr 2023 23:30 UTC
-
Build fails with project reference outside solution root
Hi, thanks for sharing this issue. NCrunch itself actually doesn't care about the solution root. It's possible to have projects specified well outside the solution directory and the tool should be able to find them - but it's important that these project reference each other using correct relati…
03 Apr 2023 23:27 UTC
-
Have InvalidCastException when build test projects with NCrunch
[quote=Xinyu;16566]Hi, Thanks for answering. I'm not using the newest version. I'm using 4.11. Unfortunately we only have license for 4.11. Then that's the reason.[/quote] Sorry, to resolve this issue you'll either need to roll back to an earlier version of MSTest, or upgrade your NCrunch. Th…
30 Mar 2023 23:10 UTC
-
Memory leak?
Hi, thanks for sharing this issue. At the moment we aren't aware of any memory leaks in NCrunch itself that could cause this kind of behaviour, but when there are 8000+ tests involved, sooner or later this is probably going to happen. It's not an uncommon problem either. It's not easy to veri…
28 Mar 2023 23:16 UTC