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

Uploaded Source

Built Distribution

nihtest-1.4.0-py3-none-any.whl (15.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nihtest-1.4.0.tar.gz
Algorithm Hash digest
SHA256 95f84ea13aedc6bc5e18b85d96b1a11151ace825235a3148f83be06f900d7643
MD5 4f6b3505c2d02fcdc74c464ca4d969bc
BLAKE2b-256 23049c05730fe2a09718dc412191b648ca77e54015c595ef71f314f3f9d88e4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nihtest-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 15.2 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 723cd7591a9b17e75a190058d9764b2f7a639c8383fc3b9c343bdefcbb6514a5
MD5 2cb2e0bdba88970f680ed8ee67bf8799
BLAKE2b-256 275246c2f81fc841e12c24cf5cd374ec06340d007b4dc43e0df32ef1ce79e60b

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