Django

Code

Ticket #11412 (closed: wontfix)

Opened 7 months ago

Last modified 1 week ago

documentation on test fixtures is not clear on fixture's file naming

Reported by: artem.skvira@gmail.com Assigned to: nobody
Milestone: Component: Documentation
Version: 1.0 Keywords: fixtures, testing
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

"Fixture loading",

http://docs.djangoproject.com/en/1.0/topics/testing/#fixture-loading

does not go into any considerable details as how to name the files in the subfolder 'fixtures'.

It's be nice if it says something like: 'Fixture files generated by "./mange.py dumpdata" have to reside in subfolder 'fixtures' of the application being tested and file names must correspond to the strings in the 'fixtures' array of testing class'

Attachments

Change History

02/02/10 07:51:10 changed by russellm

  • status changed from new to closed.
  • needs_better_patch changed.
  • resolution set to wontfix.
  • needs_tests changed.
  • needs_docs changed.

The docs already point to the loaddata docs, which explain how fixtures are named, and where they should be placed.


Add/Change #11412 (documentation on test fixtures is not clear on fixture's file naming)




Change Properties
Action