2.1.3 Testing as a Driver for Software Development Flashcards

(7 cards)

1
Q

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

A

defined
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 principle of e… and follows s… since the tests are defined before the c…

A

early testing
shift left,
code is written.

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

These development methods 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 t… (instead of extensive s…)
- Tests are written first, then the “ “ is written to s… and then the t…

A
  • test cases
    software design
  • code
    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 a… as part of the s…
- Tests are written before the part of the a… to satisfy the “ “.

A
  • acceptance criteria
    system design process.
  • application is developed
    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 simple form of n… which is easy to u… usually with the G…
  • Test cases should then automatically be “ “ into e…
A
  • natural language,
    understand by stakeholders
    Given/When/Then format.
  • translated
    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 a… to ensure the code quality in f…

A

automated tests
future adaptions / refactoring.

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