Agile Testing and Quality Flashcards
6 cards from real SAFe® 5 DevOps Certification practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 6 Agile Testing and Quality flashcards as text
In Test-Driven Development (TDD), what is the correct Red-Green-Refactor sequence?
Answer: Write failing test → Write minimal passing code → Refactor
TDD follows Red-Green-Refactor: write a failing test (red), write the minimal code to make it pass (green), then refactor for quality and clarity.
What is the primary purpose of Behavior-Driven Development (BDD) in SAFe DevOps?
Answer: To create shared understanding of requirements through executable, plain-language specifications
BDD creates executable specifications in plain language that align developers, testers, and business stakeholders on expected system behavior from the start.
In BDD, which syntax format is used to write test scenarios that both business and technical stakeholders can easily understand?
Answer: Given-When-Then scenario syntax
Given-When-Then syntax describes behavior in plain language: Given a starting context, When an action occurs, Then an expected outcome should result.
Which SAFe DevOps benefit does BDD most directly provide to the team?
Answer: Alignment between business requirements and automated tests from the very start
BDD ensures automated tests directly verify business requirements, eliminating the gap between what was specified and what was actually built.
In SAFe, what does Acceptance Test-Driven Development (ATDD) add beyond standard TDD?
Answer: It involves customers and stakeholders in defining acceptance criteria before development begins
ATDD extends TDD by having customers and stakeholders define acceptance criteria upfront, which then become the automated acceptance tests that verify completion.
Which tool category is commonly used in SAFe teams to execute BDD scenarios as automated tests?
Answer: BDD frameworks like Cucumber or SpecFlow
Cucumber and SpecFlow are popular BDD frameworks that parse Given-When-Then feature files and execute them as automated acceptance tests.