2.1.3 Testing as a Driver for Software Development Flashcards

1
Q

TDD, ATDD, and BDD are similar development approaches where tests … as a means …

A

are defined

of directing development.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Each of these approaches implement the p… and follows … since the tests are defined …

A

principle of early testing

shift left,

before the code is written.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

They support an it…

A

iterative development model.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Test-Driven Development (TDD):
- Directs the coding through … (instead of …
- Tests are written first, then … and then the …

A
  • test cases
    extensive software design).
  • the code is written to satisfy the tests,
    tests and code are refactored.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Acceptance Test-Driven Development (ATDD):
- Derives tests from … as part of the …
- Tests are written before the … to satisfy …

A
  • acceptance criteria
    system design process.
  • part of the application is developed
    the tests.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

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 …
A
  • simple form of natural language,
    understand by stakeholders
    Given/When/Then format.
  • be translated into executable tests.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

For TDD, ATDD, and BDD, tests may persist as … to ensure the code quality …

A

automated tests

in future adaptions / refactoring.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly