Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ $ vcpkg install cpputest (More information: https://github.com/microsoft/vcpkg)
* `-v` verbose, print each test name as it runs
* `-r#` repeat the tests some number of times, default is one, default if # is not specified is 2. This is handy if you are experiencing memory leaks related to statics and caches.
* `-s#` random shuffle the test execution order. # is an integer used for seeding the random number generator. # is optional, and if omitted, the seed value is chosen automatically, which results in a different order every time. The seed value is printed to console to make it possible to reproduce a previously generated execution order. Handy for detecting problems related to dependencies between tests.
* `-ri` run ignored tests as if they are not ignored.
* `-g` group only run test whose group contains the substring group
* `-n` name only run test whose name contains the substring name
* `-f` crash on fail, run the tests as normal but, when a test fails, crash rather than report the failure in the normal way
Expand Down
1 change: 1 addition & 0 deletions src/CppUTest/CommandLineArguments.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ const char* CommandLineArguments::help() const
" -b - run the tests backwards, reversing the normal way\n"
" -s [<seed>] - shuffle tests randomly (randomization seed is optional, must be greater than 0)\n"
" -r[<#>] - repeat the tests <#> times (or twice if <#> is not specified)\n"
" -ri - run ignored tests as if they are not ignored\n"
" -f - Cause the tests to crash on failure (to allow the test to be debugged if necessary)\n"
" -e - do not rethrow unexpected exceptions on failure\n"
" -ci - continuous integration mode (equivalent to -e)\n";
Expand Down