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.

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

Uploaded Source

Built Distribution

nihtest-1.0.0-py3-none-any.whl (13.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for nihtest-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9204d4107c307fe2e261fb92324477fd2d5fa4271d168f0e5b3466ac8a19816a
MD5 e31ae33b2fd4eb00f5729d2f1b13643e
BLAKE2b-256 6bd66c3e75181a57e74cd91d6959cc53aa000fa15d8696e38df02f5c831efc0b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nihtest-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 95d2ed11a2c2cde62d927fcfcd836b070b5914c59a50da7f37b7a866115ccb45
MD5 e602ae966bf4894a6803271d6dff461e
BLAKE2b-256 f232a67a9621bac01feb688c95b7db2dc591539fe8a33162452d7fef04dd77e1

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