Quick Notes139 words

Implementing tests in a pipeline — quick notes

Tests in a pipeline — quick notes

ItemDetail
Separate publish taskPublishTestResults@2 when the selected runner/task leaves supported files and does not publish them
Supported formatsJUnit · NUnit · VSTest · xUnit · CTest
After an earlier failuresucceededOrFailed() in a non-cancelled run; always() also covers cancellation
mergeTestResultstrue combines files; more than 100 files are merged even when false
ParallelismMultiple agents + capacity + strategy: parallel + independent slices

Integrated test tasks can publish automatically. Publication feeds Tests and Test Analytics; job/task failure plus build validation supplies the merge gate. A standalone publisher's failTaskOnFailedTests default is false.

Primary sources

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