QuestionQ80

Chapter 1: Fundamentals of Testing

Which of the following statements concerning TDD, BDD, and ATDD is TRUE?

  • A Refactoring is a practice that is an integral part of TDD and is applied both to tests and to code written to satisfy those tests.
  • B ATDD is a black-box test design technique that is applicable exclusively at acceptance test level.
  • C BDD is a developer practice where business stakeholders are not usually involved as the tests are directly written at unit/component test level.
  • D ATDD is the practice of running the automated acceptance tests as part of a continuous integration process.
Explanation

TDD uses a test-first cycle in which a test is written, code is implemented to satisfy it, and both the tests and the production code are refactored. Refactoring test code keeps the test suite understandable and maintainable as the design evolves.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!