Skip to content

cmdtest 0.0.1

Pre-release
Pre-release

Choose a tag to compare

@mxbossard mxbossard released this 28 Jan 23:20
· 0 commits to main since this release

First version of cmdtest.

cmdtest tool is usefull to test various scripts cli and command behaviors.
You must initialize a test suite (./bin/cmdtest @init) before running tests and then report the test (%!s(MISSING) @report).
usage: ./bin/cmdtest @init[=TEST_SUITE_NAME] [@CONFIG_1] ... [@CONFIG_N]
usage: ./bin/cmdtest [ARG_1] ... [ARG_N] [@CONFIG_1] ... [@CONFIG_N] [@ASSERTION_1] ... [@ASSERTION_N]
usage: ./bin/cmdtest @report[=TEST_SUITE_NAME]
CONFIG available: @ignore @stopOnFailure @keepStdout @keepStderr @keepOutputs @fork=N
COMMAND and ARGs: the command on which to run tests
ASSERTIONs available: @fail @success @EXIT=N @stdout= @stdout~ @stderr= @stderr~