The Second Test

Let’s write the second test and learn more about testing.

The next test

One nice feature of test-driven development is that making one test pass often points to the next test. The goal of the next test cycle is to write a test that fails, given the current code. At this point, the code says that done? is always true, so we should create a case where done? is false:

Get hands-on with 1400+ tech skills courses.