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