Django-Expanded-Test-Cases
The Django-Expanded-Test-Cases package is a set of TestCase classes that expand upon Django’s default TestCase class and UnitTesting logic.
A majority of additional features provided in this package amounts to helper wrappers around sets of commonly used testing statements. So what might normally take 5 or 10 lines of testing logic is condensed down to a single assertion.
For a large project with many thousands of tests, this can add up fast.
Within this package, are three different TestCase classes that can be used as a drop-in replacement for Django’s included TestCases They are BaseTestCase, IntegrationTestCase, and LiveServerTestCase. Each one provides separate sets of additional functionality.
Below is an example of ETC’s debug output when a UnitTest fails for a basic view, while checking the <h1>
tag.