Unit Testing/xUnit.net/View Test Coverage

< Unit Testing < xUnit.net

View test coverage.

  1. Run the following command and observe the results:
    • dotnet test --coverage:"Code Coverage"
  2. Add tests and then repeat the command above to achieve 100% coverage.