Skip to main content

Chapter 8 Unit Testing: Trusting your code

In this section and the next we discuss one of the most critical steps in modern software development, that of automatic testing of our code and how to build a set of tests you can trust to let you know when you’ve broken something. This chapter will focus on the basics of unit testing, while the next chapter will introduce you to test-driven-development and outline its importance.