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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nihtest-1.5.2.tar.gz
  • Upload date:
  • Size: 39.9 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.2.tar.gz
Algorithm Hash digest
SHA256 a83f7c92f5c15cdbaa2d4e4305e565a72db0ab09d9679d932bd9cdceb4d5b229
MD5 a9720cf0a3b24faa6003dba1c25491ec
BLAKE2b-256 6064d2696c1ee0f2f0df089a13b3b21a81b72803cd4b5e391155c73319a27bd7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nihtest-1.5.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 34c2058c525da475362a7ac0375e74b776a4e77a7164e02a5b3a425625ca8c9f
MD5 e06ab335d40d7cc9cbfc3e0b1c115bc6
BLAKE2b-256 4e03cfe6357380736c9bae5c73995a42df25ea769785c4d07893ea8e1e8c72a9

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