test-driven development
A software development technique in which the test cases are developed, automated and then the software is developed incrementally to pass those test cases.
In more detail
The cycle is short: write a failing test, write just enough code to pass it, then refactor both. Tests direct the coding instead of extensive up-front design. It is one of the test-first approaches in the CTFL syllabus, with ATDD and BDD.
Related terms
- acceptance test-driven development — A collaboration-based test-first approach that defines acceptance tests in the stakeholders' domain language.
- BDD — Behaviour-driven development: describing software behaviour as readable Given-When-Then scenarios that product people and developers agree on, then automating them as tests.
- shift left — Doing testing, quality and security checks as early as they work reliably in the software development lifecycle, instead of only before release.
Taught in
- How The CTFL Exam Asks — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- Testing In Sequential, Iterative And Agile Lifecycles — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- Test First, DevOps And Shift Left — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- User Stories And Acceptance Criteria — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep
- Acceptance Test-Driven Development — ISTQB Certified Tester Foundation Level (CTFL v4.0) Exam Prep