adplus-dvertising
frame-decoration

Question

What is the purpose of writing tests in TDD?

a.

To think more carefully about the success or failure of the iteration

b.

To subsume part of the analysis and design work

c.

To produce UML diagrams

d.

To implement the functionality

Answer: (b).To subsume part of the analysis and design work Explanation:Writing explicit test cases in TDD forces one to think more carefully about the success or failure of the iteration and subsumes part of the analysis and design work. Rather than producing UML diagrams, tests are produced and used immediately.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

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

Similar Questions

Discover Related MCQs

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?

Q. What is the purpose of peer review?

Q. What is egoless programming?

Q. What is the main goal of inspections in software development?

Q. Who is responsible for the organization of inspection meetings?

Q. What is the role of the code author during the inspection meeting?

Q. What is the purpose of paraphrasing the code during an inspection?