Tracking test case coverage in Azure DevOps allows QA teams to assess the level of validation of the codebase and requirements. Azure DevOps includes built-in capabilities for linking tests to requirements, runs, and coverage.
- Create Test Plans and Suites - Group test cases into suites based on certain criteria or features.
- Link Test Cases to Work Items: Connect each test case to a user narrative or feature. This allows you to track test coverage across backlog items.
- Track code coverage from pipelines. Integrate tools like Visual Studio Test and other coverage analyzers into your CI/CD pipeline. In Azure DevOps, coverage results appear under "Test" > "Code Coverage."
- Generate Test Analytics Widgets: Use built-in widgets to display metrics such as passed tests, failed runs, and percentage coverage. Add them to the team dashboards.
- Use Queries for Uncovered Items: Create queries for backlog items that do not have connected test cases. This allows you to close the coverage gap proactively.
Azure DevOps makes it simple to ensure that quality assurance is not just reactive but also incorporated into development by linking tests to code and requirements.