#5608: Allow loading test data fixtures before running tests
-------------------------------+--------------------------------------------
   Reporter:  [EMAIL PROTECTED]  |                Owner:  nobody          
     Status:  closed           |            Component:  Unit test system
    Version:  SVN              |           Resolution:  wontfix         
   Keywords:  test fixtures    |                Stage:  Unreviewed      
  Has_patch:  1                |           Needs_docs:  0               
Needs_tests:  0                |   Needs_better_patch:  1               
-------------------------------+--------------------------------------------
Changes (by russellm):

  * status:  new => closed
  * needs_better_patch:  => 1
  * resolution:  => wontfix
  * needs_tests:  => 0
  * needs_docs:  => 0

Comment:

 I acknowledge that doctests cannot use fixtures as easily as unit tests
 can; however, the solution isn't to create a global test fixture. Test
 fixtures are (or should be) very specific to tests, not a generic item
 with global applicability.

 The solution to this problem is to simplify the process of defining
 fixtures on a per-doctest basis, not define a global test fixture. In the
 interim, doctest fixtures aren't *that* hard to set up manually using
 calls to management.call_command.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/5608#comment:1>
Django Code <http://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 post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to