./a.out -h
-b
[n=1] break test once n (default 1) cases failed-c
continues case asserts despite failure-C
Console output, black-white color style-d
debug mode, gdb/lldb attach-e
{pattern} exclude filter, suite name or case name file:line tag name wildcard (?, *) matches, if pattern don't contains ? and *, wildcard change to contains, default isfile=
only filter suite or case file:linesuite
only filter suite namecase
only filter case nametags
only filter tag name
-f
Only test last failed cases-F
[n] Fold json object and array0
do not fold json object and array1
fold short items2
fold same items3
fold single (missing peer)
-i
{pattern} include filter, suite name or case name file:line tag name wildcard (?, *) matches, if pattern don't contains ? and *, wildcard change to contains. Default is*
(include all)file=
only filter suite or case file:linesuite
only filter suite namecase
only filter case nametags
only filter tag name
-l
[suite case todo tags] list out suites and cases todos tags-m
Disable memory check(leak, overflow, trample, double free, asymmetric free)-o
{path} output junit compatible XML output-p
Disable test percentage progressing bar-r
[n=2] repeat run n rounds-s
shuffle test cases no last failedrandom
shuffle test cases random, and run in random order (default)name
sort test cases by suite/case name in alphabet orderfile
sort source file in alphabet orderreverse
sort in reverse order
-S
[type] json C/C++ source code , ' single, " double, \"-v
[n=max] verbose output0
quiet1
compact failed2
compact warning2
compact passed4
normal5
details
-x
exit code as failed cases count-W
[type...] Configure failure as warningexception
consider thrown exception as warninguncaught
consider uncaught exception as warningleak
consider memory leak as warningviolate
consider memory violate access as warningdouble_free
consider memory double free as warningasymmetric_free
consider memory asymmetric free as warning
-h/?
[option] show all help tips, or specified option detail help