ainsleymcgrath/pytest-embrace

Define test schemas with dataclasses, generate Pytest tests

22
/ 100
Experimental

This tool helps Python developers define clear, structured templates for their unit tests using standard Python dataclasses. Developers provide a template for test data and expected outcomes, and the tool automatically generates and runs those tests within the Pytest framework. It's ideal for anyone writing unit tests for Python applications who wants to make their tests more consistent and easier to understand.

No commits in the last 6 months. Available on PyPI.

Use this if you need a systematic way to create many similar unit tests in Python, ensuring they all follow the same structure and are easily maintainable.

Not ideal if you're only writing a few simple, ad-hoc tests, or if your primary testing needs are for integration or end-to-end scenarios rather than unit-level code.

Python-development unit-testing software-quality test-automation developer-productivity
No License Stale 6m
Maintenance 0 / 25
Adoption 5 / 25
Maturity 17 / 25
Community 0 / 25

How are scores calculated?

Stars

11

Forks

Language

Python

License

Last pushed

Mar 25, 2023

Commits (30d)

0

Dependencies

6

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/ainsleymcgrath/pytest-embrace"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.