nih-at / nihtest-cpp

A testing tool for command line utilities.

Home Page:https://nih.at/nihtest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The C++ version was never finished and is superseded by the Python version.

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.

It is documented in man pages: nihtest(1), the config file format nihtest.conf(5) and the test case language nihtest-case(5).

Github Actions Build Status

About

A testing tool for command line utilities.

https://nih.at/nihtest/

License:Other


Languages

Language:C++ 70.0%Language:C 25.5%Language:CMake 4.5%