Automatically create pytest test signatures
Project description
pytest-codegen
Pytest-codgen will statically analyze your code to create pytest function stubs.
Goal
First working version
Future Goals
- Create templates for tests
- More customization
Disclaimer
This tool is currently in pre-alpha/experimental phase. Usable version will be ^0.1.x
Installation
pip install pytest-codegen
Usage
Check the supported commands with
pytest-codegen --help
or if you are lazy like me
ptc --help
Suggestions & Contribution
Every suggestion and contribution is welcome
Ressources
License
This project is licensed under the terms of the MIT license.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pytest-codegen-0.0.2.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file pytest-codegen-0.0.2.tar.gz
.
File metadata
- Download URL: pytest-codegen-0.0.2.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ee65cb7f3444b91cf3cb7b3db4ca8e9357b0ec20fe74603b6ca8bdcf338b1ef |
|
MD5 | c00cf2ccca601a072d0b6ef10d6ad94d |
|
BLAKE2b-256 | 94202f6652f94975e5fdda2df84840bd408f932446e2ab1371ff8b33ce748b74 |
File details
Details for the file pytest_codegen-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: pytest_codegen-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.0.5 CPython/3.8.1 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fec3e26fd20330531beea7eb55457c6f2f65038098c03b65ac13047d6af4cf8f |
|
MD5 | d1e32703872df16f446ddcd7536a1d9a |
|
BLAKE2b-256 | b38517ffb2a72ac6733b04aacccf3b14a09b2cae9b519b4e9fbb3efd503dc6fb |