Which task is performed because the test-driven development approach is being used?

Which task is performed because the test-driven development approach is being used?
A . testing existing software before developing new code
B. refactoring code that is covered by existing tests
C. writing code without committing any coding violations
D. creating test scenarios based on continuous development

Answer: B

Explanation:

"The idea is that you build a test case first, before any software has been created or modified"

but "testing existing software before developing new code" is the idea or goal, not the task five steps of TDD:

-Write a test

-Test fails

-Write some code

-Test passes

-Refactor

Latest 200-901 Dumps Valid Version with 211 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments