A minimal unit testing framework in Hy
Project description
hyprovo is a minimal (~160 LOC) testing framework for Hy heavily inspired by the chapter on Practical: Building a Unit Test Framework in Practical Common Lisp.
provo (Esperanto) ⇔ test (English)
Installation
pypi (recommended)
pip install hyprovo
Manual
Install using setup.py (--user is optional)
python3 setup.py install --user
or in development mode,
python3 setup.py develop --user
API
See tutorial.ipynb for the documentation.
Tests
Ensure hy is in the executable path. Run the tests.hy command line script from inside the tests directory,
./tests.hy
A log file with the start timestamp will be created in the logs subdirectory.
GitHub Repository: https://github.com/prasxanth/hyprovo
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
File details
Details for the file hyprovo-0.22.tar.gz.
File metadata
- Download URL: hyprovo-0.22.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2d553f9fa9c8ea4a37266ae4268f65dd1d1679bcd35c9890c53445b51b8c431c
|
|
| MD5 |
6192154d7d10550ad671db030ffdaa3b
|
|
| BLAKE2b-256 |
ed22a2e8a62b15d3f95b1c657e61ec252d0c1ce6df0c18f3954ae2750940582c
|