Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add polifactory to Testing:Object factory #2608

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

hectorcanto
Copy link

What is this Python project?

A Factory or Mother library with mock data features

What's the difference between this Python project and similar ones?

It is somewhat similar to factory-boy (already listed) but I find it simpler with a softer initial learning curve.

I've been working with factory-boy for years and I am a big supporter but polyfactory makes it simpler to achieve the most common fixture generations.

If you are starting with fixture generation I would recommend going to polyfactory first or at least taking a look and comparing it with factory-boy, especially if you work with Pydantic.

--

Anyone who agrees with this pull request could submit an Approve review to it.

@Eleven2799
Copy link

Imagine you're building a Lego castle. You can use different Lego sets to make it, but each set has its own special pieces and instructions.

This Python project is like a unique Lego set. It's made to help people with specific tasks, like answering questions or generating text. What makes it different from similar projects is the special combination of "Lego pieces" (code and tools) and "instructions" (how it's designed to work) that make it extra helpful and user-friendly.

Just like how you might choose a Lego set that's just right for your castle, developers choose this Python project because it has the right combination of features and tools to help them build their own amazing things!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants