xUnit.net test runners

In xUnit.net, there are two actors responsible for running unit tests written using the framework—xUnit.net runner and the test framework. A test runner is the program that can also be a third-party plugin that searches for tests in assemblies and activates the tests discovered. The xUnit.net test runner depends on the xunit.runner.utility library to discover and execute tests.

The test framework is the code with the implementation of test discovery and execution. The test framework links the discovered test against the xunit.core.dll and xunit.execution.dll libraries. The libraries live alongside the unit tests. xunit.abstractions.dll is another useful library of xUnit.net that contains the abstractions that the test ...

Get C# and .NET Core Test Driven Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.