What is the step to take in TDD after the tests have failed?
What is the step to take in TDD after the tests have failed?
A . Meet with the team to see why it fails
B. Change the test in a way that is passes
C. Run it again to verify it fails.
D. Write the code to satisfy the test
Answer: D
Explanation:
In TDD you start with writing the test before the code. This test cannot pass. If it does, the test is wrong. When the tests are written, the production code to satisfy the test will be written. Once all the tests succeeds, the product code is done.
Latest PSD Dumps Valid Version with 120 Q&As
Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments