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.11.1.tar.gz (47.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nihtest-1.11.1-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nihtest-1.11.1.tar.gz
  • Upload date:
  • Size: 47.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for nihtest-1.11.1.tar.gz
Algorithm Hash digest
SHA256 9307197235c107f24a569a2847ee02ebd771a395d8d081dac9aab0f7b9139a75
MD5 a5a8f0ba6508677d092451ab9da8ebe3
BLAKE2b-256 9c32db27071f005a05014f1426c2b66ca4224395dfbc51a6fdfd3aec52986183

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nihtest-1.11.1-py3-none-any.whl
  • Upload date:
  • Size: 19.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for nihtest-1.11.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ba23eb1e0402636632f5fc417cadd3b5bab23262f05da93292ff14daaadb866
MD5 64a2806e557ab6c0ee1ea1e04dc443f3
BLAKE2b-256 6b6c356a17d8da480c97624adffd57c3349dd08d4397b56e76d71e1ec8187d75

See more details on using hashes here.

Supported by

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