Step 2: Make the Test Pass

Here you take off your design hat and get into solution mode. You are now free to do whatever it takes to make the test pass. You can be cheeky and return a hardcoded value simply to make the test pass. Or you can take a bigger step, and implement a more robust solution. It’s up to you.

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.