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

Uploaded Source

Built Distribution

nihtest-1.2.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nihtest-1.2.0.tar.gz
Algorithm Hash digest
SHA256 940033f9b0b955a1a6ebc4eba6beb15bd69e1aeaf40025ff7e41359ff420664b
MD5 16625d17aece9a2860a12cdbbfb8aa75
BLAKE2b-256 a2f4bcbae11887a0d40a17d7b8a5628351d8bce191e94eedb2822aa3a2233a3c

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nihtest-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6b17807a2e5e2bbbb1218b39f43a636d2305cf8cdd5efe7c8c59806c6e81d05d
MD5 d4e1edcfc8cda0992ac7ad2c1d62057d
BLAKE2b-256 6762e6aa88e5aa7aa14b7383fbce831a11604a1dfe427a4d79f04b697591bdc9

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