Introduction: Following the Rhythms of TDD

Get yourself introduced to what we will learn in this section.

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.

Get hands-on with 1200+ tech skills courses.