Skip to main content

Intro

TUnit is another testing framework for .NET 8 and up. It can be used for unit testing, integration testing, acceptance testing, you name it.

It provides you a skeleton framework to write, execute and assert tests, with little opinion on how your tests should be. In fact, it aims to be flexible, giving you various ways to inject test data, such as options for new data or shared instances, and a variety of hooks to run before and after tests.

That means you get more control over your setup, execution, and style of tests.