AgalmicVentures/PyTestStub
Code generator for Python unit test stubs that parses your existing code
This tool generates boilerplate unit test files and method stubs for your existing Python code. It takes your Python module as input and creates corresponding test files, pre-filled with empty tests for each function and class method. This helps Python developers quickly set up new test suites and ensure comprehensive test coverage from the start.
No commits in the last 6 months. Available on PyPI.
Use this if you are a Python developer who wants to quickly create unit test skeletons for new or existing code, ensuring every function and method has a corresponding test stub.
Not ideal if you need to write the actual test logic or are looking for a tool to run or manage your tests, as this only generates the initial structure.
Stars
9
Forks
4
Language
Python
License
MIT
Category
Last pushed
Jan 08, 2023
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
vil02/puzzle_generator
Generates python code representing a puzzle
westandskif/convtools
convtools is a specialized Python library for dynamic, declarative data transformations with...
numen31337/copy_with_extension
Auto-generate `copyWith` methods for your Dart classes.
finsberg/gotranx
Next generation ODE translator