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 Since GLib 2.62, gtester-report is deprecated. Use TAP for reporting
16 test results instead, and feed it to the test harness provided by your
17 build system.
18
19 When called with the -o option, gtester writes an XML report of the
20 test results, which can be converted into HTML using the gtester-report
21 utility.
22
24 -h, --help
25 print help and exit
26
27 -v, --version
28 print version information and exit
29
30 --g-fatal-warnings
31 make warnings fatal
32
33 -k, --keep-going
34 continue running after tests failed
35
36 -l
37 list paths of available test cases
38
39 -m=MODE
40 run test cases in MODE, which can be one of:
41
42 perf
43 run performance tests
44
45 slow, thorough
46 run slow tests, or repeat non-deterministic tests more often
47
48 quick
49 do not run slow or performance tests, or do extra repeats of
50 non-deterministic tests (default)
51
52 undefined
53 run test cases that deliberately provoke checks or assertion
54 failures, if implemented (default)
55
56 no-undefined
57 do not run test cases that deliberately provoke checks or
58 assertion failures
59
60
61 -p=TESTPATH
62 only run test cases matching TESTPATH
63
64 -s=TESTPATH
65 skip test cases matching TESTPATH
66
67 --seed=SEEDSTRING
68 run all test cases with random number seed SEEDSTRING
69
70 -o=LOGFILE
71 write the test log to LOGFILE
72
73 -q, --quiet
74 suppress per test binary output
75
76 --verbose
77 report success per testcase
78
80 gtester-report(1)
81
82
83
84GLib GTESTER(1)