Step 1: Write a Failing Test

In this step you aren’t thinking about a solution. Here you are thinking about design. Here you are writing a test to verify that the code you are about to add in the second step works. So here you need to put your design hat on and “think” the API for the code into existence.

Get The Way of the Web Tester now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.