BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Metrics and queries for testing
Lesson248 words

Metrics and queries for testing

Metrics and queries for testing

MetricSignals
Pass rateOverall suite health
Flaky test rateWhether a red build is believable
Test durationFeedback speed
Coverage of changed codeWhether new work is tested
Failures by areaWhere quality is weakest

Flakiness dominates

A suite with a 99% pass rate and 4% flakiness is not 99% healthy — the flakiness makes every failure ambiguous, so the team re-runs rather than investigates, and genuine regressions are retried away. This is why flaky test rate belongs on the dashboard next to pass rate rather than buried.

Duration and behaviour

Test duration is a behavioural metric. Once a suite is slow enough, people stop running it locally and batch changes to avoid waiting — which increases the size of each change and makes failures harder to attribute.

Coverage, carefully

Report coverage of the code a change touched, not the repository-wide figure. Coverage measures which lines executed, never whether anything was asserted, so a global percentage is a weak quality proxy and a poor target. Coverage of changed code is actionable and cannot be satisfied by writing tests somewhere else.

Queries worth having

Failures grouped by area path tell you where quality is weakest — but only if test results are actually published, which returns to the same requirement: no publish step, no data.

Primary sources

  • https://learn.microsoft.com/en-us/azure/devops/pipelines/test/review-continuous-test-results-after-build
All Designing and Implementing Microsoft DevOps Solutions (AZ-400) Study Resources

Related Notes

  • Agent and runner infrastructure421 words
  • Agent and runner infrastructure — quick notes150 words
  • Alerting on pipeline events255 words
  • Alerting on pipeline events — quick notes94 words
  • Analyzing usage and application performance241 words
  • Analyzing usage and application performance — quick notes73 words
  • Appropriate access levels217 words
  • Appropriate access levels — quick notes85 words
  • Automating container scanning277 words
  • Automating container scanning — quick notes96 words
  • Automating documentation from Git history191 words
  • Automating documentation from Git history — quick notes55 words

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up.

Start Studying

Ready to study Designing and Implementing Microsoft DevOps Solutions (AZ-400)?

Practice tests, flashcards, and all study notes — free, no sign-up needed.

Start Studying — Free
Designing and Implementing Microsoft DevOps Solutions (AZ-400) ResourcesExplore All HivesBlogHome

© 2026 BrainyBee. Free AI-powered exam prep.