Testing

Of all these tools, testing will probably give you the most confidence that you have written good code. Testing lets you know that your code behaves in an expected way under given circumstances. In Chapter 12, “Testing and Debugging,” you will learn how to write code that tests your code. Every time you make a change to your code, you can run your tests to make sure your code continues to behave as expected. I really could have used some tests like that when I was building my website. Live and learn, right?

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.