Mid Testing

How do you run xUnit tests from the command line?

Use the dotnet test CLI command:

dotnet test YourTestProject.csproj

This runs all tests in the project and outputs results in the console. Additional options allow

filtering and outputting reports.

NUnit Framework

More from C# Programming Tutorial

All questions for this course