xUnit.net

A popular open-source unit testing framework for .NET, where [Fact] marks a test method and Assert checks results.

In more detail

Its name nods to the xUnit family of frameworks descended from Smalltalk's SUnit and Java's JUnit, which share the same test, fixture and assertion ideas. Tests are methods marked with a Fact or Theory attribute; a Theory is the equivalent of a parametrized test. The dotnet test command discovers and runs them.

Related terms

Taught in

References

Certification courses