-
-
Notifications
You must be signed in to change notification settings - Fork 68
About
Valder Gallo edited this page Apr 7, 2012
·
20 revisions
<<<<<<< HEAD
A full library to create dynamic model instances for testing purposes.
- It is a TERRIBLE practice to use STATIC data in tests.
- Create dynamic fixture for each model is boring and it produces a lot of replicated code.
- It is a bad idea to use uncontrolled data in tests, like random data.
- We tried to use another fixture tools in a big Django project but the experience was not satisfactory.
- Either they are incomplete, or bugged or it produces erratic tests, because they use random and uncontrolled data.
- Also, the syntax of others tools is too verbose, which polutes the tests.
- Complete, lean and practice documentation.
- It is hard to debug tests with another tools.
- List of other tools: http://djangopackages.com/grids/g/fixtures
- Highly customizable: you can customize fields recursively
- Deal with unique=True
- Deal with cyclic dependencies (including self references)
- Deal with many to many relationship (common M2M or M2M with additional data, i.e. through='table')
- Deal with custom fields (specially if the custom field inherit of a django field)
- It is supported for parallel tests
- Deal with auto calculated attributes
- It is easy to debug errors
=======
http://paulocheque.github.com/django-dynamic-fixture
- https://github.com/paulocheque/django-dynamic-fixture/downloads
- http://pypi.python.org/pypi/django-dynamic-fixture
- http://code.google.com/p/django-dynamic-fixture/downloads/list
3b210bb509126c87db0fd9a340316603e6f94f70
- http://code.google.com/p/django-dynamic-fixture
- http://bitbucket.com/paulocheque/django-dynamic-fixture
- http://www.reddit.com/r/django/comments/fv1re/django_dynamic_fixture
- http://djangopackages.com/grids/g/fixtures/
- http://news.ycombinator.com/item?id=2275406
- http://pythonsmalltalk.blogspot.com/2011/02/django-dynamic-fixture.html
- http://pythonsmalltalk.blogspot.com/2011/03/django-dynamic-fixture-121.html
- http://code.activestate.com/pypm/django-dynamic-fixture
- http://groups.google.com/group/django-mptt-dev/browse_thread/thread/d9eb9e22ad4aa656
- http://groups.google.com/group/django-users/browse_thread/thread/1346a60008c21a7b
- http://groups.google.com/group/django-brasil/browse_thread/thread/757df09d3c3be81d
- http://linux.softpedia.com/get/Internet/HTTP-WWW-/django-dynamic-fixture-68711.shtml
