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

Uploaded Source

Built Distribution

nihtest-1.6.0-py3-none-any.whl (15.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nihtest-1.6.0.tar.gz
Algorithm Hash digest
SHA256 132f2b775b16a3093f5da3ac73c6c46274fa4d2082828d38c86992b0dedb374c
MD5 30da280db193b32bbc1ccf9759d5d70e
BLAKE2b-256 788a476334749d0ef70f17a0b3a8538608197d78765a98e959ed9dcd505f2c01

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nihtest-1.6.0-py3-none-any.whl
  • Upload date:
  • Size: 15.6 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.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 28a02b792e8151e36f1145442f31d6c5867422e4739cb372986e737200dfb02e
MD5 8cff1eba62f1ac63414995092d471e79
BLAKE2b-256 d3b0ec0ce8ff098a0ee63718c7eee90b78e5550ae1f7906029af625bb8be4961

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