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

Uploaded Source

Built Distribution

nihtest-1.9.1-py3-none-any.whl (16.5 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nihtest-1.9.1.tar.gz
Algorithm Hash digest
SHA256 e8f309fb5007089fe13a0b563fb2ed78105207a04e7dc9e14486119ce3053978
MD5 7435b4a0b5fad741966ba7f99fe0e984
BLAKE2b-256 867d6a5b7cd69c9dd8b551fd22f79e57cf2ee369a5d9b257b26cdf3a74b15f19

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nihtest-1.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 5af33cc3dfb411e3a7158b27ec0395d034fca3f5d78cf0f253f543a4c9c3dfcb
MD5 e3bec9f6e7353add041002afd5849927
BLAKE2b-256 20148362d405199e90a89727d341d5325b0ce1b3903e02a9a205f29c46364de5

See more details on using hashes here.

Supported by

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