NUnitTestOrdering 1.0.0-beta1

NUnit Test Ordering

Allows you to hierarchically order your entire (or part of) your NUnit test suite, support dependencies between tests and skipping tests if their dependencies fail. Ideal for complex integration tests.

This is a prerelease version of NUnitTestOrdering.
Install-Package NUnitTestOrdering -Version 1.0.0-beta1
dotnet add package NUnitTestOrdering --version 1.0.0-beta1
paket add NUnitTestOrdering --version 1.0.0-beta1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NUnit Ordered Testing library

This library allows you to use test ordering with NUnit.

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.

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.

Please also view the known issues on Github.

NUnit Ordered Testing library

This library allows you to use test ordering with NUnit.

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.

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.

Please also view the known issues on Github.

Release Notes

Version 1.0:
- Initial NuGet release

    • NUnit (>= 3.7.0 && < 3.10.0)

Version History

Version Downloads Last updated
1.0.0-beta1 250 1/3/2018
1.0.0-alpha5 185 7/12/2017
1.0.0-alpha4 197 5/13/2017
1.0.0-alpha3 187 11/10/2016
1.0.0-alpha2 150 10/2/2016
1.0.0-alpha1 184 9/16/2016