./a.out -h-b[n=1] break test once n (default 1) cases failed-ccontinues case asserts despite failure-CConsole output, black-white color style-ddebug 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 is(exclude nothing)file=only filter suite or case file:linesuiteonly filter suite namecaseonly filter case nametagsonly filter tag name
-fOnly test last failed cases-F[n] Fold json object and array0do not fold json object and array1fold short items2fold same items3fold 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:linesuiteonly filter suite namecaseonly filter case nametagsonly filter tag name
-l[suite case todo tags] list out suites and cases todos tags-mDisable memory check(leak, overflow, trample, double free, asymmetric free)-o{path} output junit compatible XML output-pDisable test percentage progressing bar-r[n=2] repeat run n rounds-sshuffle test cases no last failedrandomshuffle test cases random, and run in random order (default)namesort test cases by suite/case name in alphabet orderfilesort source file in alphabet orderreversesort in reverse order
-S[type] json C/C++ source code , ' single, " double, \"-v[n=max] verbose output0quiet1compact failed2compact warning2compact passed4normal5details
-xexit code as failed cases count-W[type...] Configure failure as warningexceptionconsider thrown exception as warninguncaughtconsider uncaught exception as warningleakconsider memory leak as warningviolateconsider memory violate access as warningdouble_freeconsider memory double free as warningasymmetric_freeconsider memory asymmetric free as warning
-h/?[option] show all help tips, or specified option detail help