Running
dotnet test --project Checkout.Tests/Checkout.Tests.csproj
Or run the test binary directly to reach the platform's own command line:
dotnet run --project Checkout.Tests -- --list-tests
dotnet test needs a global.json that opts into the Microsoft.Testing.Platform runner. The SDK
reads that file from the directory the command is run in and upward, so it goes at the repository
root, not beside the project. See Installing.
For a build agent, Running a suite on CI is a complete Azure Pipelines example. It covers the environment, filters, parallelism, retries and each reporter, chosen from the Run pipeline dialog, with the two YAML files to copy into your repository.
Watching a run#
To see tests start and finish, and read their logs while they run, start
precept-dashboard before running the suite.