Make All Tests Pass

Learn to make all tests pass in test-driven development.

In this step, we rerun the tests, including older ones, and make sure they pass. Therefore, we must make sure that the feature being added doesn’t make the previous test fail, thereby breaking past functionality.

How does it work?

Here, we basically redo the action we performed in step two. However, this time, we shouldn’t get any failed tests if ...