Utility to generate fixtures

Bug #1172028 reported by Allan LeSage on 2013-04-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Helipad
Wishlist
Unassigned

Bug Description

As the database changes the test fixtures need to be updated; the existing fixtures were generated by slurping one stack and then using the command dumpdata to make a json file.

Create a utility which will generate these fixtures so that they can stay in sync.

Chris Johnston (cjohnston) wrote :

Would probably be a good idea to look into replacing the fixtures with something like model-mommy where you specify what you want created and how many, then the data is created when the tests are run. Much nicer than having to work with fixtures IMO.

Allan LeSage (allanlesage) wrote :

I find fixtures to be helpful on occasion; let's wishlist this and I'll get to if the opportunity arises.

Changed in helipad:
importance: High → Wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers