Quiz Yourself on the Steps Involved in Test Driven Development
Test what you’ve learned in this chapter with this quiz.
1
Should you refactor your code after the tests pass?
A)
Maybe. Refactoring is the fifth and final step involved in TDD, but it’s completely optional.
B)
Yes, it’s necessary to refactor your code even if the code you intially wrote was very clean.
C)
No, you never refactor your code. In fact, it isn’t part of the steps in TDD.
D)
None of the above
Question 1 of 30 attempted
Get hands-on with 1400+ tech skills courses.