NUnitTestOrdering 1.0.0

dotnet add package NUnitTestOrdering --version 1.0.0                
NuGet\Install-Package NUnitTestOrdering -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NUnitTestOrdering" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NUnitTestOrdering --version 1.0.0                
#r "nuget: NUnitTestOrdering, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// 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.

Build status NuGet Version and Downloads count

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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
    • 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,513 9/17/2020
1.0.0-beta1 2,305 1/3/2018
1.0.0-alpha5 794 7/12/2017
1.0.0-alpha4 932 5/13/2017
1.0.0-alpha3 824 11/10/2016
1.0.0-alpha2 789 10/2/2016
1.0.0-alpha1 905 9/16/2016

Version 1.0:
- Initial NuGet release