NUnitTestOrdering 1.0.0
dotnet add package NUnitTestOrdering --version 1.0.0
NuGet\Install-Package NUnitTestOrdering -Version 1.0.0
<PackageReference Include="NUnitTestOrdering" Version="1.0.0" />
paket add NUnitTestOrdering --version 1.0.0
#r "nuget: NUnitTestOrdering, 1.0.0"
// Install NUnitTestOrdering as a Cake Addin #addin nuget:?package=NUnitTestOrdering&version=1.0.0 // Install NUnitTestOrdering as a Cake Tool #tool nuget:?package=NUnitTestOrdering&version=1.0.0
NUnit Ordered Testing library
This library allows you to use test ordering with NUnit. This is an implementation of ordered tests for NUnit, similar in how they exist in the MSTest framework.
Why?
The primary use case of this library is to allow integration tests to depend on each other. You may want to test a certain work flow in the application, but each step of the workflow is a test of its own. When testing a web shop application, you may want to test these steps:
- Manage products
- Add product in web shop
- Find the product in the overview
- Add stock for the product
- Buy product
- Find product using search
- Add to basket
- Buy product
- Manage shipping
- ...
Using this library you can model and manage workflow tests such as the above.
In essence this library is a replacement and improvement to MSTest Ordered Tests implemented for NUnit.
Note: Don't use this library to order to unit tests, that's bad practice. You want your unit tests to be as independent as possible
Features
The library offers the following features:
- Build complex test ordering hierarchies.
- Skip subsequent tests if an earlier test fails.
- Order your test methods by dependency instead of integer order.
- Supports usage side-by-side with unordered tests. Unordered tests are executed first.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
-
- NUnit (>= 3.7.0 && < 3.13.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 1,512 | 9/17/2020 |
1.0.0-beta1 | 2,296 | 1/3/2018 |
1.0.0-alpha5 | 793 | 7/12/2017 |
1.0.0-alpha4 | 931 | 5/13/2017 |
1.0.0-alpha3 | 823 | 11/10/2016 |
1.0.0-alpha2 | 788 | 10/2/2016 |
1.0.0-alpha1 | 904 | 9/16/2016 |
Version 1.0:
- Initial NuGet release