ExamGecko
Home Home / Scrum / PSD
Question list
Search
Search

Question 58 - PSD discussion

Report
Export

What is the step to take in TDD after the tests have failed?

A.
Meet with the team to see why it fails
Answers
A.
Meet with the team to see why it fails
B.
Change the test in a way that is passes
Answers
B.
Change the test in a way that is passes
C.
Run it again to verify it fails.
Answers
C.
Run it again to verify it fails.
D.
Write the code to satisfy the test
Answers
D.
Write the code to satisfy the test
Suggested 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.

asked 23/09/2024
Elias Lopez III
44 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first