DEVASC Exam QuestionsBrowse all questions from this exam

DEVASC Exam - Question 552


DRAG DROP

-

Drag and drop the steps from the left into the order of the test-driven development cycle.

Show Answer
Correct Answer:

Discussion

1 comment
Sign in to comment
daniii89
Feb 7, 2025

Correct: Step 1 Verify that the new test fails. Step 2 Write a test. Step 3 Write code. Step 4 Ensure that all tests pass. Step 5 Refactor the code. We first verify that the test fails (Step 1) because this proves that the feature is not yet implemented. Then, we write the test (Step 2) to describe the expected behavior. We write code (Step 3) to satisfy the test. We ensure that all tests pass (Step 4) after implementing the feature. Finally, we refactor (Step 5) to improve the quality of the code.

daniii89
Feb 7, 2025

change verify and write a test