TDD of the register page
The code we will write first is the unit test code. Practicing TDD can be hard if you haven't done it before. If you fight against it, it can be even harder, annoying, and a waste of time. However, with a simple mindset change and several rounds of practicing, you might see it as an extremely valuable technique, especially for Agile projects. We won't go into the details of the benefits of practicing TDD here because we're practicing it in this book and, hopefully, by the end of the journey, you can see the benefits yourselves. For now, just think of all of those unit test methods as mini QA robots that will help us check the health of the application every time we run the mvn clean install command.
We will create ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access