1GTESTER(1) User Commands GTESTER(1)
2
3
4
6 gtester - test running utility
7
9 gtester [OPTION...] [testprogram]
10
12 gtester is a utility to run unit tests that have been written using the
13 GLib test framework.
14
15 When called with the -o option, gtester writes an XML report of the
16 test results, which can be converted into HTML using the gtester-report
17 utility.
18
20 -h, --help
21 print help and exit
22
23 -v, --version
24 print version information and exit
25
26 --g-fatal-warnings
27 make warnings fatal
28
29 -k, --keep-going
30 continue running after tests failed
31
32 -l
33 list paths of available test cases
34
35 -m=MODE
36 run test cases in MODE, which can be one of:
37
38 perf
39 run performance tests
40
41 slow, thorough
42 run slow tests, or repeat non-deterministic tests more often
43
44 quick
45 do not run slow or performance tests, or do extra repeats of
46 non-deterministic tests (default)
47
48 undefined
49 run test cases that deliberately provoke checks or assertion
50 failures, if implemented (default)
51
52 no-undefined
53 do not run test cases that deliberately provoke checks or
54 assertion failures
55
56
57 -p=TESTPATH
58 only run test cases matching TESTPATH
59
60 -s=TESTPATH
61 skip test cases matching TESTPATH
62
63 --seed=SEEDSTRING
64 run all test cases with random number seed SEEDSTRING
65
66 -o=LOGFILE
67 write the test log to LOGFILE
68
69 -q, --quiet
70 suppress per test binary output
71
72 --verbose
73 report success per testcase
74
76 gtester-report(1)
77
78
79
80GLib GTESTER(1)