AgalmicVentures/PyTestStub
Code generator for Python unit test stubs that parses your existing code
Walks Python module directory structures to generate unittest.TestCase skeletons with stubbed test methods for every function and class, supporting customizable headers/footers, exclusion patterns, and configurable naming conventions. Uses AST parsing to introspect source code and automatically creates corresponding test files only where missing, enabling developers to focus on test logic rather than boilerplate setup and method enumeration.
9 stars and 2,144 monthly downloads. No commits in the last 6 months. Available on PyPI.
Stars
9
Forks
4
Language
Python
License
MIT
Category
Last pushed
Jan 08, 2023
Monthly downloads
2,144
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/AgalmicVentures/PyTestStub"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
inducer/cgen
C/C++ source generation from an AST
westandskif/convtools
convtools is a specialized Python library for dynamic, declarative data transformations with...
pyecore/pyecore
A Python(nic) Implementation of EMF/Ecore (Eclipse Modeling Framework)
mutating/transfunctions
Say NO to Python fragmentation on sync and async
cogu/cfile
A python C code generator