Red, Green, Refactor workflow
Question:
What is the Red, Green, Refactor workflow?
- Ensuring that no one can call the code (red), then deciding how you want to call the code (green)
- Writing a failing test case (red), then writing enough code to make the unit test pass (green)
- Writing code first (red), then writing a test for it (green)
- Avoiding code failure (red) by writing the most refined, error-free code (green)
Answer:
B - is the correct answer. The Red, Green, Refactor workflow is outputting failing test cases in red and passing test cases in green