A testing tool for command line utilities.
Project description
This is nihtest, a testing tool for command line utilities.
Tests are run in a sandbox directory to guarantee a clean separation of the test.
It checks that exit code, standard and error outputs are as expected and compares the files in the sandbox after the run with the expected results.
It is written in Python.
It is documented in man pages: nihtest(1), the config file format nihtest.conf(5) and the test case language nihtest-case(5).
The man pages are included in the source distribution tarball in the
manpages
directory in man (Linux-like), mdoc (BSD), and HTML
format. When you're packaging nihtest, please make sure they are
installed in an appropriate location.
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
Built Distribution
File details
Details for the file nihtest-1.8.0.tar.gz
.
File metadata
- Download URL: nihtest-1.8.0.tar.gz
- Upload date:
- Size: 41.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6843b6769bddfae51f5b68bc62eb34b444087365dd6f4003d528eaedf8184087 |
|
MD5 | ee86691463e369590bae16f4f3f47cd1 |
|
BLAKE2b-256 | 630cbdf5a193d778828839b7a299c1cd4736a10085f667aa473e44bb0e7c1461 |
File details
Details for the file nihtest-1.8.0-py3-none-any.whl
.
File metadata
- Download URL: nihtest-1.8.0-py3-none-any.whl
- Upload date:
- Size: 15.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f98f9c804973537543453b89ebbac6768010d8f7a0e6ecb1061604a0d76d417 |
|
MD5 | 3975d5c052758689e19fb43d13a78773 |
|
BLAKE2b-256 | 73c438db2a61485f1cc86fb1790bd5c6ed535e9708c2c729801cc09564c35239 |