Contents

factory_boy - A test fixtures replacement for Python

0

A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby.

A versatile test fixtures replacement based on thoughtbot's factory_bot for Ruby.

Stars: 3503, Watchers: 3503, Forks: 395, Open Issues: 185

The FactoryBoy/factory_boy repo was created 13 years ago and the last code push was 1 months ago.
The project is very popular with an impressive 3503 github stars!

How to Install factory-boy

You can install factory-boy using pip

pip install factory-boy

or add it to a project with poetry

poetry add factory-boy

Package Details

Author
Mark Sandstrom
License
MIT
Homepage
https://github.com/FactoryBoy/factory_boy
PyPi:
https://pypi.org/project/factory-boy/
GitHub Repo:
https://github.com/FactoryBoy/factory_boy

Classifiers

  • Software Development/Libraries/Python Modules
  • Software Development/Testing
No  factory-boy  pypi packages just yet.

Errors

A list of common factory-boy errors.

Code Examples

Here are some factory-boy code examples and snippets.

GitHub Issues

The factory-boy package has 185 open issues on GitHub

  • Drop support for EOL python 3.6, add support for python 3.10 and django 4.0
  • feat: Add basic typing support
  • *_batch() methods raise TypeError for models with a 'size' attribute
  • More information needed with TypeError in the builder
  • Pycharm plugin
  • DjangoOptions has no attribute model
  • Feat/add unique feature arg in faker factory
  • Add Dynamodb ORM Factory
  • Support for async?

See more issues on GitHub

Related Packages & Articles