Commit message (Expand) | Author | Age | |
---|---|---|---|
* | Lint | Raphaël Barrois | 2013-09-24 |
* | Properly handle Sequence & inheritance (Closes #93).•••There was also a nasty bug: with class FactoryB(FactoryA), FactoryB's sequence counter started at the value of FactoryA's counter when FactoryB was first called. | Raphaël Barrois | 2013-09-17 |
* | Fix coverage | Raphaël Barrois | 2013-06-15 |
* | Add tests for RelatedFactory extraction. | Raphaël Barrois | 2013-06-15 |
* | Move DjangoModelFactory / MogoFactory to their own modules. | Raphaël Barrois | 2013-06-09 |
* | Don't use objects.get_or_create() unless required. | Raphaël Barrois | 2013-04-16 |
* | Release v2.0.1v2.0.1 | Raphaël Barrois | 2013-04-16 |
* | Add more tests for DjangoModelFactoryTestCase. | Raphaël Barrois | 2013-04-16 |
* | Add Dict/List declarations (Closes #18). | Raphaël Barrois | 2013-04-15 |
* | Allow overriding the sequence counter. | Raphaël Barrois | 2013-04-15 |
* | Nit: cleanup name of test methods. | Raphaël Barrois | 2013-04-03 |
* | Add support for get_or_create in DjangoModelFactory. | Raphaël Barrois | 2013-04-02 |
* | Add Factory.FACTORY_HIDDEN_ARGS.•••Fields listed in this class attributes will be removed from the kwargs dict passed to the associated class for building/creation. | Raphaël Barrois | 2013-04-02 |
* | Default Sequence.type to int (Closes #50). | Raphaël Barrois | 2013-03-24 |
* | Remove extract_prefix from post-generation hooks.•••Magic abuse is bad. | Raphaël Barrois | 2013-03-11 |
* | Remove InfiniteIterator and infinite_iterator.•••Use Iterator/iterator instead. | Raphaël Barrois | 2013-03-11 |
* | Remove building_function/creation_function.•••Stop defaulting to Django's .objects.create(). | Raphaël Barrois | 2013-03-11 |
* | Stop calling Foo.objects.create() when it doesn't break (Closes #23).•••This will be properly fixed in v2.0.0; the current heuristic is: - If the user defined a custom _create method, use it - If he didn't, but the associated class has a objects attribute, use TheClass.objects.create(*args, **kwargs) - Otherwise, simply call TheClass(*args, **kwargs). Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2013-03-05 |
* | Add a 'after post_generation' hook to Factory.•••Use it in DjangoModelFactory to save objects again if a post_generation hook ran. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2013-03-04 |
* | Get rid of the FACTORY_ABSTRACT rename.•••This was just adding noise to an already complex release. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2013-03-03 |
* | Improve coverage.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2013-03-03 |
* | Deprecate the extract_prefix option to PostGeneration.•••Introduces a new, call-less syntax for the @post_generation decorator. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2013-03-03 |
* | Tests: move disable_warnings to its own class.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2013-03-03 |
* | Improve Iterator and SubFactory declarations.•••* Iterator now cycles by default * Iterator can be provided with a custom getter * SubFactory accepts a factory import path as well Deprecates: * InfiniteIterator * CircularSubFactory Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2013-03-03 |
* | Add test for dual class/factory inheritance.•••If it works properly, this would make pylint happy. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2013-02-27 |
* | Happy New Year!•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2013-01-02 |
* | Rename ABSTRACT_FACTORY to FACTORY_ABSTRACT.•••And add a deprecation warning too. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-11-15 |
* | Add an extension point for kwargs mangling.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-11-15 |
* | Mix SelfAttribute with ContainerAttribute.•••With a very simple syntax. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-11-15 |
* | [py3] Various python3-compatibility fixes.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-11-15 |
* | [py3] Rename xrange to range•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-11-15 |
* | [py3] Disable 'scope bleeding' test on py3.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-11-15 |
* | [py3] Remove calls to iteritems().•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-11-15 |
* | Add support for passing non-kwarg parameters to factories.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-08-17 |
* | Improve test coverage.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-08-16 |
* | Disable new warnings in tests.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-08-16 |
* | Refactor building_function/creation_function handling.•••Rely on inheritance instead of handwritten set_creation_function and such. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-08-16 |
* | Explicitly set FACTORY_FOR in tests.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-08-16 |
* | Add full tests for CircularSubFactory.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-08-16 |
* | Fix TestCase name conflict•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-07-09 |
* | Fix sequence count for SubFactory (Closes #16).•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | Raphaël Barrois | 2012-06-01 |
* | Only absorb dependant arguments for SubFactory fields (Closes #15).•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-05-04 |
* | Rename post_declaration to post_generation.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | Raphaël Barrois | 2012-04-15 |
* | Expose and test factory.RelatedFactory.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | Raphaël Barrois | 2012-04-15 |
* | Handle the PostGeneration declarations.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | Raphaël Barrois | 2012-04-15 |
* | Make tests compatible with python2.6 + unittest2•••Signed-off-by: Raphaël Barrois <raphael.barrois@polyconseil.fr> | Raphaël Barrois | 2012-04-15 |
* | Test running improvements: tests can be run under python 2.6 (by using option... | Mikhail Korobov | 2012-04-10 |
* | Fix tests.•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-04-07 |
* | Add and document abstract factories (Closes #8).•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-04-07 |
* | Add a couple of tests for scope bleeding with InfiniteIterator and list compr...•••Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | Raphaël Barrois | 2012-03-09 |