dotnet test

The dotnet command that builds test projects and runs their tests, reporting passes and failures.

In more detail

It prints a summary of passed, failed and skipped tests and exits with a failure code if any test fails. Continuous integration runs it for the whole solution on every change; --no-restore skips a restore already done.

Example

dotnet test --no-restore

Related terms

Taught in

References