Missing test framework for python
Project description
snate
Missing test framework for python
Installation
pip install snate
Usage
Programmatic usage
from snate import Snate
def add(a, b):
return a + b
snate = Snate()
snate.add(lambda: add(1, 2), 3)
snate.add(lambda: add(3, 5), 8)
snate.test()
CLI usage
You can run tests in the tests/ directory by simply running snate in your terminal:
snate
You can also specify a different directory or a specific test file:
snate custom_tests/
snate tests/test_math.py
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
snate-0.5.0.tar.gz
(2.2 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
snate-0.5.0-py3-none-any.whl
(2.9 kB
view details)
File details
Details for the file snate-0.5.0.tar.gz.
File metadata
- Download URL: snate-0.5.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e112d6e268d32f3c3bda12512ed988ece2aa235b1e7dd36cc62f9646b494dc12
|
|
| MD5 |
0e7cee916c90435afc64739bb798456a
|
|
| BLAKE2b-256 |
27da44c55a98144d7f25a49b668855c5040dc6df5fb4d314dc5572ff771c926b
|
File details
Details for the file snate-0.5.0-py3-none-any.whl.
File metadata
- Download URL: snate-0.5.0-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.7.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b130f1941b9cbad367a20429c9d4d8d4c28db50e114da6c64e739a35e7fc5c14
|
|
| MD5 |
e6a08d43a4f7f767c052036d5e474066
|
|
| BLAKE2b-256 |
837ef0018cf1871df8d71367cdf1fb9e154746812b89b5c8a8764824e4d5a9c7
|