Peer reviewed by Vildan Softic.
You're probably already familiar with automated testing and its benefits. Having a set of tests for your application allows you to make changes to your code with confidence, knowing that the tests have your back should you break anything. It's possible to take things a step further and write your tests before you write the code; a practice known as Test-driven development (TDD).
In this tutorial, we will talk about what TDD is and what benefits it brings to you as a developer. We'll use TDD to implement a form validator, which ensures that any values input by the user conform to a specified set of rules.
Note that ...