Skip to Content
C# and .NET Core Test-Driven Development
book

C# and .NET Core Test-Driven Development

by Ayobami Adewole
May 2018
Intermediate to advanced content levelIntermediate to advanced
300 pages
7h 35m
English
Packt Publishing
Content preview from C# and .NET Core Test-Driven Development

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 ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Design Patterns with C# and .NET Core

Hands-On Design Patterns with C# and .NET Core

Gaurav Aroraa, Jeffrey Chilberto
.NET Core in Action

.NET Core in Action

Dustin Metzgar

Publisher Resources

ISBN: 9781788292481Supplemental Content