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
The Answer Is:
D
This question includes an explanation.
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.
PSD PDF/Engine
Printable Format
Value of Money
100% Pass Assurance
Verified Answers
Researched by Industry Experts
Based on Real Exams Scenarios
100% Real Questions
Get 65% Discount on All Products,
Use Coupon: "ac4s65"