Skip to main content

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.

Github Actions Build Status

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

nihtest-1.5.0.tar.gz (39.3 kB view details)

Uploaded Source

Built Distribution

nihtest-1.5.0-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

Details for the file nihtest-1.5.0.tar.gz.

File metadata

  • Download URL: nihtest-1.5.0.tar.gz
  • Upload date:
  • Size: 39.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for nihtest-1.5.0.tar.gz
Algorithm Hash digest
SHA256 2af782ef39654a531584d65d507fc467938c53bfd00c08848e031108e92af929
MD5 9ebc9873b2077a12bf4668f43897166a
BLAKE2b-256 a98b73dbdf3073525d8db439b1adf01ef13ca8699ea073582095c728e140dec2

See more details on using hashes here.

File details

Details for the file nihtest-1.5.0-py3-none-any.whl.

File metadata

  • Download URL: nihtest-1.5.0-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for nihtest-1.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ecff1b7cf1ecb25dcc98cfc3ae295afe1efa00ef8cb46c56c2a097abad4071ff
MD5 dd2b9c82ca20d82c827c6adeb6f1a057
BLAKE2b-256 5b8dd9715f97282134fbe74d0f0f036e4e68695eb2cac7d8ed55168eb8a1e4c5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page