Introduction: Following the Rhythms of TDD
Get an introduction to what you’ll learn in this chapter.
We'll cover the following
We know how individual unit tests help us explore and capture design decisions about our code and keep our code defect-free and simple to use, but that’s not all they can do.
Rhythms of TDD
TDD has rhythms that help us with the whole development cycle. By following the rhythms, we have a guide on what to do next in each step. It is helpful to have this technical structure that allows us to think deeply about engineering good code and then capture the results. The first rhythm was covered in the last section. Inside each test, we have a rhythm of writing the Arrange, Act, and Assert sections. We’ll add some detailed observations on succeeding with this next.
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy