Factory Boy
  • Introduction
    • Basic usage
    • Sequences
    • LazyFunction
    • LazyAttribute
    • Inheritance
    • Non-kwarg arguments
    • Altering a factory’s behaviour: parameters and traits
    • Strategies
  • Reference
    • The Factory class
    • Declarations
    • Module-level functions
  • Using factory_boy with ORMs
    • Django
    • Mogo
    • MongoEngine
    • SQLAlchemy
  • Common recipes
    • Dependent objects (ForeignKey)
    • Reverse dependencies (reverse ForeignKey)
    • Simple Many-to-many relationship
    • Many-to-many relation with a ‘through’
    • Copying fields to a SubFactory
    • Custom manager methods
    • Forcing the sequence counter
    • Converting a factory’s output to a dict
  • Fuzzy attributes
    • FuzzyAttribute
    • FuzzyText
    • FuzzyChoice
    • FuzzyInteger
    • FuzzyDecimal
    • FuzzyFloat
    • FuzzyDate
    • FuzzyDateTime
    • FuzzyNaiveDateTime
    • Custom fuzzy fields
    • Managing randomness
  • Examples
    • Objects
    • Factories
    • Using the factories
  • Internals
  • ChangeLog
    • 2.7.0 (2016-04-19)
    • 2.6.1 (2016-02-10)
    • 2.6.0 (2015-10-20)
    • 2.5.2 (2015-04-21)
    • 2.5.1 (2015-03-27)
    • 2.5.0 (2015-03-26)
    • 2.4.1 (2014-06-23)
    • 2.4.0 (2014-06-21)
    • 2.3.1 (2014-01-22)
    • 2.3.0 (2013-12-25)
    • 2.2.1 (2013-09-24)
    • 2.2.0 (2013-09-24)
    • 2.1.2 (2013-08-14)
    • 2.1.1 (2013-07-02)
    • 2.1.0 (2013-06-26)
    • 2.0.2 (2013-04-16)
    • 2.0.1 (2013-04-16)
    • 2.0.0 (2013-04-15)
    • 1.3.0 (2013-03-11)
    • 1.2.0 (2012-09-08)
    • 1.1.5 (2012-07-09)
    • 1.1.4 (2012-06-19)
    • 1.1.3 (2012-03-09)
    • 1.1.2 (2012-02-25)
    • 1.1.1 (2012-02-24)
    • 1.1.0 (2012-02-24)
    • 1.0.4 (2011-12-21)
    • 1.0.2 (2011-05-16)
    • 1.0.1 (2011-05-13)
    • 1.0.0 (2010-08-22)
    • Credits
  • Ideas
 
Factory Boy
  • Docs »


© Copyright 2011-2015, RaphaĆ«l Barrois, Mark Sandstrom.

Sphinx theme provided by Read the Docs