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

DRAG DROP
-
Drag and drop the steps from the left into the order of the test-driven development cycle.
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.
change verify and write a test