ainsleymcgrath/pytest-embrace
Define test schemas with dataclasses, generate Pytest tests
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.
Stars
11
Forks
—
Language
Python
License
—
Category
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.
Higher-rated alternatives
googleapis/gapic-generator-python
Generate Python API client libraries from Protocol Buffers.
zeromicro/go-zero
A cloud-native Go microservices framework with cli tool for productivity.
omissis/go-jsonschema
A tool to generate Go data types from JSON Schema definitions.
openconfig/ygot
A YANG-centric Go toolkit - Go/Protobuf Code Generation; Validation; Marshaling/Unmarshaling
mailru/easyjson
Fast JSON serializer for golang.