A developer practicing Test-Driven Development (TDD) writes a test for a new feature and runs it, confirming that it fails. According to the TDD cycle, what is the immediate next step?
-
A
Write the simplest possible production code to make the test pass.
-
B
Refactor the existing code to improve its design.
-
C
Write another failing test for the next part of the feature.
-
D
Ask a QA engineer to review and approve the failing test.