AZ-400 · Question #604
You are designing a build and release pipeline. You need to implement a shift-left testing strategy for the pipeline. Which types of tests should you include?
The correct answer is C. unit, smoke, and integration. The goal for shifting testing left is to move quality upstream by performing testing tasks earlier in the pipeline. Through a combination of test and process improvements, shifting left reduces both the time it takes for tests to run, and the impact of failures later in the cycle
Question
Options
- Aformal acceptance, user acceptance, and smoke
- Bfunctional, regression, and formal acceptance
- Cunit, smoke, and integration
- Dintegration, user acceptance, and regression
How the community answered
(27 responses)- A11% (3)
- B4% (1)
- C78% (21)
- D7% (2)
Explanation
The goal for shifting testing left is to move quality upstream by performing testing tasks earlier in the pipeline. Through a combination of test and process improvements, shifting left reduces both the time it takes for tests to run, and the impact of failures later in the cycle. Shifting left ensures that most testing is completed before a change merges into the main branch. Write tests at the lowest possible level Write more unit tests. Favor tests with the fewest external dependencies, and focus on running most tests as part of the build. https://learn.microsoft.com/en-us/devops/develop/shift-left-make-testing-fast-reliable
Topics
Community Discussion
No community discussion yet for this question.