Getting started with automated testing
Let's first define what automated testing is. Automated testing is a process of writing code to test the code in our project and then running those tests in an automated way—that's it.
Imagine this scenario: if you want to test a function manually, you have to launch your application in the browser, fill in the form to authenticate, and click some links to get to the function you want to test. You will then have to fill out all the fields in your form, hit the Submit button, and see the function's feedback or results in the browser. Imagine you have to repeat how you've manually tested your form and also try to test your form in different edge cases. That's crazy! Simply because of the variations in how your user would use your form, this grows exponentially as you add more fields to your form.
As you can see, manual testing is very time-consuming. The workflow for manually testing your function may take several...