factory_boy

Package — TestingPython 3.7+Intermediate

Test fixtures: create complex object hierarchies

Quick Info

Documentation
Official Docs
Python Version
3.7+
Dependencies
Faker
Install
pip install factory-boy

Learn by Difficulty

Quick Example

python
# Install: pip install factory-boy
import factory_boy

# Basic factory_boy usage
print(f"Using factory_boy")
# See documentation for detailed examples

factory_boy is a third-party package. Test fixtures: create complex object hierarchies. Install with: pip install factory-boy

Try in Playground

Tags

packagetestingquality-assurance