Auto-generate pytest tests for Python functions with @autotest decorator
Project description
autotestify
🧪 Auto-generate pytest tests for your Python functions using the @autotest decorator.
Install
pip install autotestify
##Usage
autotestify your_file.py
##Example
from autotestify import autotest
@autotest
def add(a, b):
return a + b
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
autotestify-0.1.0.tar.gz
(2.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file autotestify-0.1.0.tar.gz.
File metadata
- Download URL: autotestify-0.1.0.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0a4bc6df8ab29f15daf025f88ee869a3ccf8b6059bdb287683e55c8c86b4d6ba
|
|
| MD5 |
6ce1b450a85ae647c2058be503a2a1f5
|
|
| BLAKE2b-256 |
2ae12b9afd13157db195d421542a874897f5838be0ba7c8d048ed1eb0856da50
|
File details
Details for the file autotestify-0.1.0-py3-none-any.whl.
File metadata
- Download URL: autotestify-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f3f76cae9a84ee6ad949d76c3decf5c98e8b5dfa4e9c048216e5ce6389793c4
|
|
| MD5 |
1623b7df5082d426049a00e94389a8b9
|
|
| BLAKE2b-256 |
73528d9f89a53392364c0b901e78f7823f29ee33cb19747af806b680ede049c5
|