[TIP] What are you all using for fixtures?
Chris.Wesseling at cwi.nl
Thu Jul 3 09:28:41 PDT 2014
On 2014-07-03T11:48:08+0000, Marcin Tustin wrote:
> Right now I'm looking for alternatives to the farmdev fixture module
> (http://farmdev.com/projects/fixture/) for loading fixture data with
> What are you using, and why do you like or dislike it?
For Django projects I like Model Mommy
My main likes
- It can create instances, with and without touching the database
- It generates required data, that I don't care about for the current
- A clean API, and a willingess to clean up ugly bits:
I wish I had more time to work on that :)
The data generation feature has actually uncovered fallacies in my code.
IIRC somethin like a missing validator.
> Confidentiality Notice: This e-mail and any attachments may contain
> any reliance thereon) is STRICTLY PROHIBITED. If you have received
> this e-mail in error, please immediately notify the sender and delete
> this information from your computer and destroy any related paper
> copies. Unless otherwise expressly stated in the text of the e-mail,
These kind of notices always make me think of the first phrase that made
me notice self-reference: "Wie dit leest is gek."
Centrum Wiskunde & Informatica (CWI)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 819 bytes
Desc: not available
More information about the testing-in-python