O'Reilly logo

Test-Driven Python Development by Siddharta Govindaraj

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 10. Tools to Improve Test-Driven Development

Up to this point, we have mostly been looking at how to write and run tests. In this chapter, we will turn our attention to integrating the tests with the wider development environment. Having tests integrated into the development environment is important because it allows us to set up an automated process through which tests are executed regularly. We will also look at other tools that can improve the way we do TDD—from other test runners to libraries that make asserting easier.

TDD tools

We looked at the nose2 test runner earlier in this book. Python has other popular third-party test runners. Python also has a number of libraries to make assertions more flexible and readable. These libraries ...

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