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 C++ 14 and a bit of C and only needs the standard library.

Mail suggestions and bug reports to

nihtest is currently under development and has not been release yet.

Man pages: nihtest(1), nihtest-case(5), nitest.conf(5)

Git repository (current development version)

Travis Build Status Appveyor Build status