TEST_CASES
auto TEST_CASES =
[testCase().inFolder("./00-basic-usage-default-command/").withParams("20").expectStatusToBe(0).finish(), testCase().inFolder("./00-basic-usage-default-command/").withParams("20 --reverse").expectStatusToBe(128).finish(), testCase().inFolder("./01-named-sub-commands/").withParams("return 0").expectStatusToBe(0).finish(), testCase().inFolder("./01-named-sub-commands/").withParams("r 128").expectStatusToBe(128).finish(), testCase().inFolder("./02-shorthand-longhand-args/").withParams("return --code 0").expectStatusToBe(0).finish(), testCase().inFolder("./02-shorthand-longhand-args/").withParams("r -c=128").expectStatusToBe(128).finish(), testCase().inFolder("./03-inheritence-base-commands/").withParams("add 1 2").expectStatusToBe(3).allowToFail().finish(), testCase().inFolder("./03-inheritence-base-commands/").withParams("add 1 2 --offset=7").expectStatusToBe(10).allowToFail().finish(), testCase().inFolder("./04-custom-arg-binders/").withParams("./dub.sdl").expectStatusToBe(0).finish(), testCase().inFolder("./04-custom-arg-binders/").withParams("./lalaland.txt").expectStatusToBe(-1).finish(), testCase().inFolder("./05-built-in-binders/").withParams("echo -b -i 2 -f 2.2 -s Hola -e red").expectStatusToBe(0).finish(), testCase().inFolder("./06-result-with-fail-code/").withParams("abc").expectStatusToBe(-1).finish(), testCase().inFolder("./06-result-with-fail-code/").withParams("0").expectStatusToBe(-1).finish(), testCase().inFolder("./06-result-with-fail-code/").withParams("3").expectStatusToBe(-1).finish(), testCase().inFolder("./06-result-with-fail-code/").withParams("1").expectStatusToBe(0).finish(), testCase().inFolder("./08-arg-binder-validation").withParams("20 69").expectStatusToBe(0).finish(), testCase().inFolder("./08-arg-binder-validation").withParams("69 69").expectStatusToBe(-1).expectOutputToMatch("Expected number to be even").finish(), testCase().inFolder("./08-arg-binder-validation").withParams("20 20").expectStatusToBe(-1).expectOutputToMatch("Expected number to be odd").finish(), testCase().inFolder("./09-raw-unparsed-arg-list").withParams("echo -- Some args").expectStatusToBe(0).expectOutputToMatch(`Running command 'echo' with arguments \["Some", "args"\]`).finish(), testCase().inFolder("./09-raw-unparsed-arg-list").withParams("noarg").expectStatusToBe(0).expectOutputToMatch(`Running command 'noarg' with arguments \[\]`).finish(), testCase().inFolder("./10-argument-options").withParams("sensitive --abc 2").expectStatusToBe(0).finish(), testCase().inFolder("./10-argument-options").withParams("sensitive --abC 2").expectStatusToBe(-1).finish(), testCase().inFolder("./10-argument-options").withParams("insensitive --abc 2").expectStatusToBe(0).finish(), testCase().inFolder("./10-argument-options").withParams("insensitive --ABC 2").expectStatusToBe(0).finish(), testCase().inFolder("./10-argument-options").withParams("redefine --abc 2").expectStatusToBe(2).finish(), testCase().inFolder("./10-argument-options").withParams("redefine --abc 2 --abc 1").expectStatusToBe(1).finish(), testCase().inFolder("./10-argument-options").withParams("no-redefine --abc 2").expectStatusToBe(0).finish(), testCase().inFolder("./10-argument-options").withParams("no-redefine --abc 2 --abc 1").expectStatusToBe(-1).finish()];
test
classesfunctionsstructsvariables
CONFIGURATION +