Forum member

amo11

10 posts

Posts by amo11

  1. 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.

  2. 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?

  3. 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…

  4. 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…

  5. 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…

  6. MapViewOfFile error

    thanks for the clarification. Checking the my configuration, it appears that RDI was enabled when it should not have been.

  7. 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…

  8. 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…

  9. 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. 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…