Skip to content

Instantly share code, notes, and snippets.

@kduske
Created April 4, 2021 12:46
Show Gist options
  • Save kduske/ede1bd50785f8c847d533dbc4605839d to your computer and use it in GitHub Desktop.
Save kduske/ede1bd50785f8c847d533dbc4605839d to your computer and use it in GitHub Desktop.
14:45 $ ./common-test --help
Catch v2.13.0
usage:
common-test [<test name|pattern|tags> ... ] options
where options are:
-?, -h, --help display usage information
-l, --list-tests list all/matching test cases
-t, --list-tags list all/matching tags
-s, --success include successful tests in
output
-b, --break break into debugger on failure
-e, --nothrow skip exception tests
-i, --invisibles show invisibles (tabs, newlines)
-o, --out <filename> output filename
-r, --reporter <name> reporter to use (defaults to
console)
-n, --name <name> suite name
-a, --abort abort at first failure
-x, --abortx <no. failures> abort after x failures
-w, --warn <warning name> enable warnings
-d, --durations <yes|no> show test durations
-D, --min-duration <seconds> show test durations for tests
taking at least the given number
of seconds
-f, --input-file <filename> load test names to run from a
file
-#, --filenames-as-tags adds a tag for the filename
-c, --section <section name> specify section to run
-v, --verbosity <quiet|normal|high> set output verbosity
--list-test-names-only list all/matching test cases
names only
--list-reporters list all reporters
--order <decl|lex|rand> test case order (defaults to
decl)
--rng-seed <'time'|number> set a specific seed for random
numbers
--use-colour <yes|no> should output be colourised
--libidentify report name and version according
to libidentify standard
--wait-for-keypress <never|start|exit waits for a keypress before
|both> exiting
--benchmark-samples <samples> number of samples to collect
(default: 100)
--benchmark-resamples <resamples> number of resamples for the
bootstrap (default: 100000)
--benchmark-confidence-interval confidence interval for the
<confidence interval> bootstrap (between 0 and 1,
default: 0.95)
--benchmark-no-analysis perform only measurements; do not
perform any analysis
--benchmark-warmup-time amount of time in milliseconds
<benchmarkWarmupTime> spent on warming up each test
(default: 100)
For more detailed usage please see the project docs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment