Opened 15 years ago

Closed 15 years ago

#11412 closed (wontfix)

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

Reported by: artem.skvira@… Owned by: nobody
Component: Documentation Version: 1.0
Severity: Keywords: fixtures, testing
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

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'

Change History (1)

comment:1 by Russell Keith-Magee, 15 years ago

Resolution: wontfix
Status: newclosed

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

Note: See TracTickets for help on using tickets.
Back to Top