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 test_cases/base_test_case
, test_cases/integration_test_case
, and test_cases/live_server_test_case
. 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.
quickstart package_overview general_usage managing_test_users
test_cases/overview test_cases/base_test_case test_cases/integration_test_case test_cases/live_server_test_case
configuration/general configuration/users configuration/debug_output
roadmap version_history
genindex
modindex
search