Fody add-in for weaving NUnit Timeout tags on the TestFixture classes with a global maximum. Depending on your setting the slow unit tests are going to fail after the timeout period.
The goal is to catch all incorrectly written NUnit tests and to force them to execute quickly. This will provide the possibility to use the test set in TDD scenario. By not installing the weaver into some of the test assemblies, you can build integration unit tests, which you can leave out from the TDD process and run them only on your build server.
Requires NuGet 2.8 or higher.
Install-Package NUnitTestTimeLimiter.Fody -Version 22.214.171.124
dotnet add package NUnitTestTimeLimiter.Fody --version 126.96.36.199
<PackageReference Include="NUnitTestTimeLimiter.Fody" Version="188.8.131.52"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
paket add NUnitTestTimeLimiter.Fody --version 184.108.40.206
* Fixed assembly resolution causing problems with NUnit reference detection in the target assembly.
- Fody (>= 1.29.4)