Code

Opened 5 years ago

Closed 4 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: UI/UX:

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 (0)

Change History (1)

comment:1 Changed 4 years ago by russellm

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to wontfix
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.