#37128: Include setUpTestData as a way to speed up tests
-------------------------------------+-------------------------------------
     Reporter:  Tim Schilling        |                     Type:
                                     |  Cleanup/optimization
       Status:  new                  |                Component:
                                     |  Documentation
      Version:  dev                  |                 Severity:  Normal
     Keywords:  testing              |             Triage Stage:
                                     |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 In Adam Johnson's book "Speed up your Django Tests", there's a section on
 using `setUpTestData` to speed up tests. Since we have a section on
 [https://docs.djangoproject.com/en/dev/topics/testing/overview/#speeding-
 up-the-tests speeding up tests] already, I think we should add this tip to
 it. We also mention in docs/topics/testing/tools.txt, that `setUpTestData`
 is faster than using `setUp`.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/37128>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019e73ce0605-d951e7ee-957b-40fa-bf16-5d3908254900-000000%40eu-central-1.amazonses.com.

Reply via email to