Unit Testing/xUnit.net/View Test Coverage
Appearance
View test coverage.
- Run the following command and observe the results:
dotnet test --coverage:"Code Coverage"
- Add tests and then repeat the command above to achieve 100% coverage.
View test coverage.
dotnet test --coverage:"Code Coverage"