BrainyBeeBrainyBee
ExploreBlogStart Studying
HomeDesigning and Implementing Microsoft DevOps Solutions (AZ-400)Topic 3.2 — Testing strategy — cram sheet
Cram Sheet208 words

Topic 3.2 — Testing strategy — cram sheet

Topic 3.2 — Testing strategy · cram sheet

Two gate boundaries

BoundaryMechanismSet by
Merge into a branchBranch policiesRepo admin
Deploy into an environmentApprovals and checksResource owner

A branch policy cannot gate a deployment; a check cannot gate a merge.

Test levels

LevelScope
LocalPre-commit
UnitOne component, dependencies faked
IntegrationComponents + real dependencies
LoadExpected and peak traffic
  • Defect cost: local (minutes) → PR (a build) → production (an incident).
  • A test needing a real database is an integration test, whatever the folder says.
  • Never blind-retry a flaky test — quarantine or fix.

Implementing tests

  • Task: PublishTestResults@2
  • Formats: JUnit · NUnit · VSTest · xUnit · CTest
  • condition: succeededOrFailed() — without it the publish step is skipped exactly when tests fail. The single most common defect in this objective.

Coverage

  • Task: PublishCodeCoverageResults@2
  • Formats: Cobertura · JaCoCo (≠ test result formats)
  • Coverage records lines executed, not whether anything was asserted.
  • Best gate: coverage of the changed lines.
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.