Forum member
amo11
10 posts
Posts by amo11
-
Running Reqnroll Tests in Sequence
It looks like applying "ExclusivelyUses" at assembly level is the only thing that is going to work for tests using Reqnroll at the moment. That seems to have fixed the problems I was seeing with parallel test execution. Thanks for your help.
16 May 2025 10:51 UTC
-
Running Reqnroll Tests in Sequence
Disabling parallel test execution does stop the timeout failures, but at the expense of much longer execution times. Is there any way to specify parallel or sequential execution at the project level?
16 May 2025 07:37 UTC
-
Running Reqnroll Tests in Sequence
In the beginning I was trying to use a base class that implemented IDisposable. I hoped that this meant that everything would be disposed at the end of the test execution. I was incorrect in my assumptions about how this would work, and this would cause NCrunch to start failing tests with RavenDb t…
15 May 2025 12:00 UTC
-
Running Reqnroll Tests in Sequence
hello, I've got a small suite of BDD tests, for an Aspnetcore server connecting to a RavenDb database. The tests work fine under Visual Studio and the dotnet cli, and will pass under NCrunch when first run. Under NCrunch however, the tests will quickly start failing, with the RavenDb server timi…
14 May 2025 14:57 UTC
-
cache storage path
I had NCrunch show a warning today, seemingly at random, about use of the Microsoft Git Provider in Visual Studio (see below). The stackoverflow post it referred to was quite old (circa 2014), and a lot of the information seemed to be out of date. I checked my configuration in Visual Studio 20…
07 Oct 2024 09:52 UTC
-
MapViewOfFile error
thanks for the clarification. Checking the my configuration, it appears that RDI was enabled when it should not have been.
24 Sep 2024 07:55 UTC
-
MapViewOfFile error
started seeing this error in our legacy codebase while I was renaming a number of interfaces/classes/variables. NCrunch would appear to stop tests execution with all remaining tests marked as failed. Restarting NCrunch enabled it to complete execution of the entire test suite without further test fa…
23 Sep 2024 10:41 UTC
-
NCrunch cannot build dotnet 5 projects
Many thanks - I had completely forgotten about these env variables. Removing these variables fixed the problem. As you thought, I had originally set them to work around the same issue with preview versions of Visual Studio 2022, and unfortunately they were a bit hard to spot in the NCrunch confi…
11 Nov 2021 12:00 UTC
-
NCrunch cannot build dotnet 5 projects
Hi - thanks for your reply. I can confirm that I have the RTM version of Visual Studio 2022 installed (I did try to update directly from the preview version to the RTM version, but I wasn't sure that worked correctly so I ended up removing the preview version of Visual Studio 2022 and then inst…
10 Nov 2021 12:35 UTC
-
NCrunch cannot build dotnet 5 projects
I am using the latest version of both Visual Studio 2019 (16.11.5) and 2022 (17.0.0) together with the latest version of NCrunch (4.11.0.2). For solutions/projects targeting .NET Framework 4.8 everything works as expected. For solutions/projects targeting .Net 5 however, NCrunch cannot build a…
09 Nov 2021 10:18 UTC