February 2024
Beginner
352 pages
8h 16m
English
This final exercise of Module 3 will teach you how to create automated tests. An automated test is code that runs other code and confirms it’s still working. As a programmer, your primary way to improve your work comes from automating things you do manually, and testing is one of the easiest things you can automate. Once you have a nice automated test suite, you can run it every time you make a change to test that everything is still working.
There’s a lot of people who advocate for various reasons and styles of testing, but in my experience there’s really only one big benefit of automated tests:
A complete automated test suite confirms that new code doesn’t break old code.
When ...
Read now
Unlock full access