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.10.1.tar.gz (46.7 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.10.1-py3-none-any.whl (18.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nihtest-1.10.1.tar.gz
  • Upload date:
  • Size: 46.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for nihtest-1.10.1.tar.gz
Algorithm Hash digest
SHA256 2bcf5d74becd705f82274055faaa98f07b3ecc72d00fc8527e05f5bfc7afc39c
MD5 1fb4e07e33dfc0398fe58f6f77dd3f70
BLAKE2b-256 f695a59cac884241ba19d5b2c97b6d34289ba43f06fe58045bbfe4c8c21fe2fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nihtest-1.10.1-py3-none-any.whl
  • Upload date:
  • Size: 18.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.10

File hashes

Hashes for nihtest-1.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eb85bdca148cda19a73510b6a5d6a211318f163c7b27485c6c4daf02e9e3f9ed
MD5 8ec734e75a41e48afee5d844e7c094a8
BLAKE2b-256 3f880782655979922e727c41ddd72695bcf3b1f420831f502cb4f22d80af148b

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