Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Test running improvements: tests can be run under python 2.6 (by using ↵ | Mikhail Korobov | 2012-04-10 |
| | | | | optional unittest2), tox config for testing under different pythons, explicit python version requirements (factory_boy works with python 2.6 and 2.7); ./setup.py test returns proper error code in case of test failure. | ||
* | Move ATTR_SPLITTER logic to a dedicated module. | Raphaël Barrois | 2012-04-09 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Fix tests. | Raphaël Barrois | 2012-04-07 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add and document abstract factories (Closes #8). | Raphaël Barrois | 2012-04-07 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add a '@use_strategy' decorator for forcing alternate strategies. | Raphaël Barrois | 2012-03-17 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add a couple of tests for scope bleeding with InfiniteIterator and list ↵ | Raphaël Barrois | 2012-03-09 |
| | | | | | | comprehensions (See #6). Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add the Iterator and InfiniteIterator attribute kinds. | Raphaël Barrois | 2012-02-24 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add support for 'generate' and 'simple_generate' | Raphaël Barrois | 2012-02-24 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add batches. | Raphaël Barrois | 2012-02-24 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Improve the 'SelfAttribute' syntax.v1.1.0 | Raphaël Barrois | 2012-02-24 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Allow using '__' in factory.SelfAttribute. | Raphaël Barrois | 2012-02-24 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add a PendingDeprecationWarning on associated class auto-discovery. | Raphaël Barrois | 2012-01-13 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add __repr__ / __str__ to a couple of objects. | Raphaël Barrois | 2012-01-12 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Rename LazyContainerAttibute to ContainerAttribute. | Raphaël Barrois | 2012-01-12 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Added support for staticmethods on factories as well. | Carl Meyer | 2012-01-12 |
| | |||
* | Added API test for classmethod on factory. | Carl Meyer | 2012-01-12 |
| | |||
* | Merge branch 'master' into allow-public-classmethods | Carl Meyer | 2012-01-12 |
|\ | |||
| * | Rearrange tests. | Raphaël Barrois | 2012-01-12 |
| | | | | | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
| * | Add support for 'LazyContainerAttribute', when a SubFactory field needs ↵ | Raphaël Barrois | 2012-01-12 |
| | | | | | | | | | | | | access to attributes from its parent. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | | Allow public classmethods on factories. | Carl Meyer | 2012-01-11 |
|/ | |||
* | Add tests for subfactory field overriding. | Raphaël Barrois | 2012-01-08 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Publish the make_factory method, and make sure that complex declarations ↵ | Raphaël Barrois | 2012-01-06 |
| | | | | | | work with it. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add factory.build(), factory.create(), factory.stub() methods. | Raphaël Barrois | 2012-01-06 |
| | | | | | | Those are shortcuts for writing a full Factory class. Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Properly import the 'base' module in test_base. | Raphaël Barrois | 2012-01-06 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add encoding header. | Raphaël Barrois | 2011-12-21 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Update copyrights. | Raphaël Barrois | 2011-12-21 |
| | | | | Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> | ||
* | Add a 'test' command to the setup.py script. | Raphaël Barrois | 2011-12-21 |
Signed-off-by: Raphaël Barrois <raphael.barrois@polytechnique.org> |