Test

In Chapter 12, “Testing and Debugging,” you learn about writing code to test your code. Crazy, right? You can use build tools to run these tests automatically every time you change your code. If you break something, you can find out without having to do any manual testing. If you write good tests, you will know exactly what you broke. You can also set up your build tools to run your tests before packaging or deploying, and you can have them stop early if any tests fail.

Get Learning to Program now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.