2.1.3 Testing as a Driver for Software Development Flashcards
TDD, ATDD, and BDD are similar development approaches where tests … as a means …
are defined
of directing development.
Each of these approaches implement the p… and follows … since the tests are defined …
principle of early testing
shift left,
before the code is written.
They support an it…
iterative development model.
Test-Driven Development (TDD):
- Directs the coding through … (instead of …
- Tests are written first, then … and then the …
- test cases
extensive software design). - the code is written to satisfy the tests,
tests and code are refactored.
Acceptance Test-Driven Development (ATDD):
- Derives tests from … as part of the …
- Tests are written before the … to satisfy …
- acceptance criteria
system design process. - part of the application is developed
the tests.
Behavior-Driven Development (BDD):
- Expresses the desired behavior of an application with test cases written in a … which is easy to … usually with the …
- Test cases should then automatically …
- simple form of natural language,
understand by stakeholders
Given/When/Then format. - be translated into executable tests.
For TDD, ATDD, and BDD, tests may persist as … to ensure the code quality …
automated tests
in future adaptions / refactoring.