O'Reilly logo

Python Testing Beginner's Guide by Daniel Arbuckle

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 9. Integration Testing and System Testing

With all of the tools, techniques, and practices that we've discussed so far, we've still only been been thinking about testing units: the smallest meaningfully testable pieces of code. It's time to expand the focus and start testing code that incorporates multiple units.

In this chapter, we shall:

  • Describe integration testing and system testing
  • Learn how to break up a program into testable multi-unit sections
  • Use doctest, unittest, and Nose to automate multi-unit tests

So let's get on with it!

Integration tests and system tests

Integration testing is the process of checking that the units making up your program work correctly in concert with each other, rather than in isolation. It's not practical to ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required