PSD · Question #6
What are possible benefits from practicing Test-Driven Development? (choose the best three answers)
The correct answer is C. It helps to identify gaps in understanding the desired behavior. D. It might lead to better code as refactoring is part of the Test-Driven Development cycle. E. It helps break down complex problems into smaller ones that are much easier to be tackled.. Test-Driven Development (TDD) helps identify gaps in understanding by requiring tests that outline the desired behavior. Refactoring ensures better code quality, and breaking problems into smaller units makes them manageable.
Question
What are possible benefits from practicing Test-Driven Development? (choose the best three answers)
Options
- AIt is a great way for Testers to contribute early in the Sprint as they can start creating all the tests
- BIt increases collaboration between Developers as it requires Pair Programming.
- CIt helps to identify gaps in understanding the desired behavior.
- DIt might lead to better code as refactoring is part of the Test-Driven Development cycle.
- EIt helps break down complex problems into smaller ones that are much easier to be tackled.
- FIt makes Integration Tests obsolete and by doing so saves a lot of time.
How the community answered
(34 responses)- B6% (2)
- C91% (31)
- F3% (1)
Explanation
Test-Driven Development (TDD) helps identify gaps in understanding by requiring tests that outline the desired behavior. Refactoring ensures better code quality, and breaking problems into smaller units makes them manageable.
Topics
Community Discussion
No community discussion yet for this question.