summaryrefslogtreecommitdiff
path: root/factory
Commit message (Expand)AuthorAge
...
* Use the same sequence counter for parent and child classes.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-08-10
* Allow the definition of 'abstract' factories.•••Needs more testing. Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-08-03
* Add a 'DjangoModelFactory'.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-08-03
* Allow users to define a custom method for retrieving the first sequence of a ...•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-07-05
* Add a new type of attribute, SelfAttribute.•••Should be used as a shortcut for 'lambda o: o.some_attr' ; most useful in SubFactories. Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-06-13
* Add tests for nice behaviour of SubFactory.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-06-13
* Fix the SubFactory/Sequence behaviour.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-05-24
* Prevent inherited classes from affecting superclasses.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-05-16
* Add SubFactories, and full testing.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-05-16
* Move tests.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-05-16
* Add a DeclarationHolder containing all the logic related to attribute declara...•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-05-16
* Cleaner code for ordered attributes.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-05-13
* Improve handling of custom build/create functions.•••Only public attributes (i.e not starting with _) will be handled properly. Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-05-13
* Improve base.py: use pop(), allow factory inheritance.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-05-12
* Fix concurrency between declarations for LazyAttributes and Sequence.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-05-11
* Remove trailing whitespace•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> Raphaël Barrois2011-05-11
* factory_boy: a test fixtures replacement based on thoughtbot's factory_girl f...Mark Sandstrom2010-08-22