adplus-dvertising
frame-decoration

Question

What are the steps involved in each iteration of test-driven development?

a.

Design, Code, Test

b.

Add a test, run all tests, make a change, run tests again, refactor

c.

Refactor, run tests again, make a change, run all tests, add a test

d.

Test, Code, Design

Answer: (b).Add a test, run all tests, make a change, run tests again, refactor Explanation:The steps involved in each iteration of test-driven development are: Add a test, run all tests, observe the added test failing, make a small change to the system to make the test work, run all tests again, and observe that they run properly, and refactor the system to remove duplicate code and improve its design.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What are the steps involved in each iteration of test-driven development?

Similar Questions

Discover Related MCQs

Q. What is the goal of test-driven development?

Q. What is the role of tests in test-driven development?

Q. What is test-driven development (TDD) a part of?

Q. What is the purpose of using an automated unit testing framework in TDD?

Q. What is the first step in each iteration of TDD?

Q. What is the purpose of writing tests in TDD?

Q. What is the benefit of TDD?

Q. What is the Software Verification and Validation Plan?

Q. According to the IEEE Standard 1012, which phases are identified for the software development process?

Q. What is the purpose of the Test Plan?

Q. What does the Test Design documentation specify for each software feature?

Q. What is the Test Item Transmittal Report?

Q. What is the Test Log?

Q. What is the Test Incident Report?

Q. What is the Test Summary Report?

Q. What is the difference between static and dynamic analysis techniques in testing?

Q. What is the role of the compiler in static analysis?

Q. What is the purpose of checking for initialization of variables and use of non-standard, or error-prone, language constructs during static analysis?

Q. What is the main purpose of reading and rereading a program text?

Q. Why is it better to have someone else read your program text?