Summary
In this chapter, you looked at some popular third-party tools to help us improve our TDD practice. Some of the tools such as py.test
and trial
are test runners with some unique features. Others such as sure
and pyhamcrest
are libraries that help us write cleaner tests. You looked at how we can integrate our unit tests into the wider development process: from putting them into the build environment and integrating with continuous integration tools, to enabling the test
command when packaging our code. We then took a look at how we can maintain a package against multiple versions of Python and integrating tests into Sphinx so that our documentation doesn't break.