Dataclass Bakery: Smart objects for better tests

Dataclass Bakery offers you a smart way to create objects based on dataclasses for testing in Python.

With a simple and powerful API you can create many objects with a single line of code.

This module is inspired by the Model Bakery module.

Compatibility

Dataclass Bakery supports Python >= 3.6

Of course you can use dataclass bakery combining with your favourite Python modules: Django, Flask, Pytest…

Install

Install it with pip

$ pip install dataclass_bakery

Contributing to Dataclass Bakery

As an open source project, Dataclass Bakery welcomes contributions of many forms. Examples of contributions include:

  • Code Patches

  • Documentation improvements

  • Bug reports

We are working on our CONTRIBUTING.md to help contribute to the project, as soon as possible we would have it. If you want colaborate now contact with miguelflg13@gmx.com