Previous chapters have discussed the built-in application test support that comes with Django 1.1. We first learned how to use doctests to test the building blocks of our application, and then covered the basics of unit tests. In addition, we saw how functions provided by
django.test.Client aid in testing Django applications. Through examples, we learned how to use these functions to test more complete pieces of our application, such as the contents of pages it serves and its form handling behavior.
Django alone, however, does not provide everything one might want for test support. Django is, after all, a web application framework, not a test framework. ...