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.0.tar.gz (47.2 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.0-py3-none-any.whl (19.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nihtest-1.11.0.tar.gz
  • Upload date:
  • Size: 47.2 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.0.tar.gz
Algorithm Hash digest
SHA256 8246423d4979a37a00362e1d61eea4e42c928a66b5d4b3b44b26cb045cdc5d42
MD5 745296ed28bc6aad0cd7e2009feedb2a
BLAKE2b-256 dca660c3879998c778dfc6f1163b2835ea41ec0bafd79adf4c43469aca4acc12

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nihtest-1.11.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c36b2209c05ade1fffb90ed6e7939a500b62c5c179f64e5c5abe08f86b3c47ad
MD5 f48def0e51664c9ee3bfd9d56b412dec
BLAKE2b-256 2bed231ec65299fadb71b6758a05da8de21f652391417bb04cb851e6fe2da53e

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