April 2015
Intermediate to advanced
264 pages
5h 31m
English
Throughout this book, we have looked at various patterns and anti-patterns in TDD. In this chapter, you are going to take a look at some additional patterns that we haven't discussed before in this book. In the process of doing so, you will also take a look at some more advanced features provided by the Python unittest module, such as test loaders, test runners, and skipping tests.
One of the key goals of TDD is to write tests that execute quickly. We will be running the tests often when doing TDD— possibly even every few minutes. The TDD habit is to run the tests multiple times when developing code, refactoring, before checkins, and before deployments. If tests run any longer, we will be reluctant ...
Read now
Unlock full access