Forum member
Remco NCrunch Developer
7586 posts
Posts by Remco
-
Test coverage dots show wrong tests
Thanks for sharing this snippet. I've reproduced the problem as described. I'll see what I can do about implementing a fix.
14 Feb 2025 22:56 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
Excellent! A bit of info about this change ... In prior builds, NCrunch was instantiating a new FileSystemWatcher for each project to keep an eye on the files in its directory. Some project structures can cause this watcher to start from a directory that is further up than the project (for examp…
13 Feb 2025 23:49 UTC
-
Microsoft.Testing.Platform support
[quote=latop2604;17929]Unfortunately my license is too old for 5.12 😭[/quote] I've added a short evaluation license to your account. It should allow you to test whether this solves your problem, which I hope will help with your decision on whether to upgrade your license :)
13 Feb 2025 23:32 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
Ok, here's my next attempt at resolving the build performance issue. Would you be interested in trying the build below to see if this improves things? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.12.0.8.msi]NCrunch_Console_5.12.0.8.msi[/url] [url=https://s3.amazonaws.co…
13 Feb 2025 11:52 UTC
-
Microsoft.Testing.Platform support
I've prepared a new build with a fix for the xunit issue described above. This build also includes the other xunit fix (around finding the binaries): [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.12.0.8.msi]NCrunch_Console_5.12.0.8.msi[/url] [url=https://s3.amazonaws.com…
13 Feb 2025 11:51 UTC
-
Microsoft.Testing.Platform support
[quote=latop2604;17923] Maybe it's unrelated. I tried to look for differences from the template. But nothing obvious. [/quote] This is caused by a different issue. There's a fix coming for it in the next release of NCrunch. Alternatively, you can find an [url=https://forum.ncrunch.net/yaf_pos…
12 Feb 2025 23:12 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
I'd like to note that I am also working on another performance fix for the high build times described in this thread. This one is a bit more complex than the last one, but I'll let you know when it's available.
12 Feb 2025 05:12 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
Thanks for sending through the bug report related to UseArtifactsOutput. The report indicated that the build system is seizing up when trying to load projects, which naturally causes everything else to jam. Unfortunately there wasn't enough information available for me to determine why it's se…
12 Feb 2025 05:11 UTC
-
Microsoft.Testing.Platform support
Thanks for sharing these extra details. I've reproduced the problem exactly as you've described it. It seems that 5 days ago there was an update to Xunit that added in an extra build step including this check, which by default will always fail under NCrunch. So it seems that we're broken at the…
12 Feb 2025 04:52 UTC
-
Microsoft.Testing.Platform support
[quote=latop2604;17910]Ok, but do that mean there is no way to have both working at the same time?[/quote] As mentioned above, this normally wouldn't be needed, because when things are set up correctly, you can use NCrunch for all your tests and forget about needing another runner. However, th…
11 Feb 2025 11:47 UTC
-
Xunit.v3 analysis failure
Thanks for sending through the bug report. The report's version number indicated you're running a build that doesn't have the above fix included (maybe the update failed). I've just pushed a new dev build which is a bit more current and I'm wondering if you'd be interested in trying it? [url=…
11 Feb 2025 08:10 UTC
-
Solution Filter
[quote=erwinvandervalk;17902]Just out of curiosity, While I understand that you cannot limit what you load (and or build) when you have slnf files open, wouldn't it be possible to at hide projects not in the filter and not to (automatically) run tests that are not in the filter? [/quote] We don't…
11 Feb 2025 08:08 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
The build below includes some optimisations around file change handling, if anyone is interested in giving it a try. [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.12.0.7.msi]NCrunch_Console_5.12.0.7.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Con…
11 Feb 2025 07:50 UTC
-
Could nCrunch ignore "Single File iSense" pseudo projects
I've just slipped a speculative fix into a dev build that I hope might solve this, if you're willing to try it? [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_5.12.0.7.msi]NCrunch_Console_5.12.0.7.msi[/url] [url=https://s3.amazonaws.com/downloads.ncrunch.net/NCrunch_Console_…
11 Feb 2025 07:49 UTC
-
Xunit.v3 analysis failure
Thanks for providing the link to your OSS project. For some reason, it seems to work fine for me. I wonder if there is an environment component. Could you submit an NCrunch bug report after you've hit this failure? I'm hopeful the log in the report might yield some information on why you're cont…
10 Feb 2025 23:59 UTC
-
Could nCrunch ignore "Single File iSense" pseudo projects
Hi Will, Does turning on the 'Ignore this project completely' setting get rid of it? Or does the GUID just change and the problem comes back?
10 Feb 2025 23:13 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
[quote=johnn;17895] Attaching a performance profiler to nCrunch.EngineHost48.x64.exe confirms its spending this time in FileSystemWatcher.CompletionStatusChanged, about 50/50 between invoking ComponentFileSystemSynchroniser, and what I'm assuming is just blocking on ReadDirectoryChangesW [/quote] …
10 Feb 2025 23:10 UTC
-
Microsoft.Testing.Platform support
Hi, thanks for posting. In .NET, the testing landscape is essentially divided into 3 areas: - Test frameworks (xUnit, NUnit, MSTest, MSpec, etc) - Test runners (VSTest, NCrunch, ReSharper, etc) - Profilers (MSFakes, TypeMock Isolator, etc) Test frameworks usually ship with their own bare-bo…
10 Feb 2025 23:08 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
[quote=DCasado;17890]Just to mention that we also use Central Package Management.[/quote] I haven't tested extensively with this but can see no reason right now why it won't work with NCrunch. [quote] The artifacts output contains: - 25.514 Files - 4.088 Folders - size of 11 GB[/quote] …
10 Feb 2025 10:14 UTC
-
Visual Studio Build Performance issues with NCrunch enabled
Adjusting your build system to place the build artifacts separate from source code would definitely reduce the number of updates being published. Does your code have a large number of artifacts? (for example, many small resource files?). NCrunch uses FileSystemWatchers on project directories to …
10 Feb 2025 10:01 UTC