
NUnit.org
What Is NUnit? NUnit is a unit-testing framework for all .Net languages. Initially ported from JUnit, the current production release, version 3, has been completely rewritten with many new features and …
Installation | NUnit Docs
If you want to experiment with NUnit or debug something in NUnit, this can be a helpful choice. Follow the instructions for NUnit Lite to install the package and create a test assembly.
TestFixture | NUnit Docs
The following test fixture would be instantiated by NUnit five times, passing in each set of arguments to the appropriate constructor. Note that there are four different constructors, matching the data types …
NUnit Documentation Site | NUnit Docs
NUnit Documentation Site This web site contains the documentation for all active NUnit projects as well as developer documentation for those working on NUnit or wishing to do so.
TestCase | NUnit Docs
Individual test cases are executed in the order in which NUnit discovers them. This order does not necessarily follow the lexical order of the attributes and will often vary between different compilers or …
TestContext | NUnit Docs
Each NUnit test runs in an execution context, which includes information about the environment as well as the test itself. The TestContext class allows tests to access certain information about the …
Towards NUnit Version 4
NUnit 4 has been long-awaited, and we are now starting to see its outline taking shape. With the introduction of NUnit 4, we are also making changes to the release cadence, shifting towards a …
TestCaseSource | NUnit Docs
NUnit locates the test cases at the time the tests are loaded. It creates instances of each class used with the third form of the attribute and builds a list of tests to be executed.
Running Tests | NUnit Docs
To start using NUnit with these tools, see the Installation section. Also see the information on the NUnit3TestAdapter for more detailed information on how to use it and configure it.
Assertions | NUnit Docs
Assertions are central to unit testing in any of the xUnit frameworks, and NUnit is no exception. NUnit provides a rich set of assertions as static methods of the Assert class.