#37128: Include setUpTestData as a way to speed up tests
--------------------------------------+------------------------------------
Reporter: Tim Schilling | Owner: (none)
Type: Cleanup/optimization | Status: new
Component: Documentation | Version: dev
Severity: Normal | Resolution:
Keywords: testing | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Jacob Walls):
* stage: Unreviewed => Accepted
Comment:
Sounds good. I also think the `AnimalTestCase` example at the top of that
page should be updated. It's a little debatable, since part of the point
of that section is to demonstrate that `TestCase` is a lightweight
subclass of `unittest.TestCase`, and we'd be immediately showing a custom
method, but we should be able to clarify that with some appropriate
wording.
--
Ticket URL: <
https://code.djangoproject.com/ticket/37128#comment:1>