Developing Applications and Automating Workflows Using Cisco Platforms (DEVASC) — Question 161
In the test-driven development model, what is changed after a test fails?
Answer options
- A. schedule
- B. project requirements
- C. code
- D. test
Correct answer: C
Explanation
In test-driven development, when a test fails, the code must be modified to ensure that the test can pass successfully. The other options, such as schedule, project requirements, and tests themselves, typically remain unchanged unless there are broader project implications.