Setting Up the Environment
Let's talk about automated testing and install the required testing tools.
Automated testing vs. exploratory testing
Testing is a very important part of a developer’s life. So far, we have been making changes in the code and “testing” it by going to the browser. This is called exploratory testing, and you need a person for that.
In this final chapter, we would like to show you a technique that lets the computer do the testing. By doing so, you can save yourself a lot of time clicking around the website.
What is even more useful about automated testing is that you can save the tests and run them whenever you like. When you are programming, a change in one file might cause a problem in another file. Running the tests after every change will expose such problems. This way tests become a safety net, which is why they are sometimes called regression tests: they will help you keep going forward.
Get hands-on with 1400+ tech skills courses.