1CXXTESTGEN(1)                                                    CXXTESTGEN(1)
2
3
4

NAME

6       cxxtestgen - performs test discovery to create a CxxTest test runner
7

SYNOPSIS

9       cxxtestgen [options] [<filename> ...]
10

DESCRIPTION

12       The cxxtestgen command processes C++ header files to perform test
13       discovery, and then it creates files for the CxxTest test runner.
14

OPTIONS

16       -h, --help
17           show this help message and exit
18
19       --version
20           Write the CxxTest version.
21
22       -o, --output=NAME
23           Write output to file NAME.
24
25       -w, --world
26           The label of the tests, used to name the XML results.
27
28       --include=HEADER
29           Include file HEADER in the test runner before other headers.
30
31       --abort-on-fail
32           Abort tests on failed asserts (like xUnit).
33
34       --main
35           Specify an alternative name for the main() function.
36
37       --headers
38           Specify a filename that contains a list of header files that are
39           processed to generate a test runner.
40
41       --runner=CLASS
42           Create a test runner that processes test events using the class
43           CxxTest::CLASS.
44
45       --gui=CLASS
46           Create a GUI test runner that processes test events using the class
47           CxxTest::CLASS. (deprecated)
48
49       --error-printer
50           Create a test runner using the ErrorPrinter class, and allow the
51           use of the standard library.
52
53       --xunit-printer
54           Create a test runner using the XUnitPrinter class.
55
56       --xunit-file
57           The file to which the XML summary is written for test runners using
58           the XUnitPrinter class. The default XML filename is
59           TEST-<world>.xml, where <world> is the value of the --world option.
60           (default: cxxtest)
61
62       --have-std
63           Use the standard library (even if not found in tests).
64
65       --no-std
66           Do not use standard library (even if found in tests).
67
68       --have-eh
69           Use exception handling (even if not found in tests).
70
71       --no-eh
72           Do not use exception handling (even if found in tests).
73
74       --longlong=TYPE
75           Use TYPE as for long long integers. (default: not supported)
76
77       --no-static-init
78           Do not rely on static initialization in the test runner.
79
80       --template=TEMPLATE
81           Generate the test runner using file TEMPLATE to define a template.
82
83       --root
84           Write the main() function and global data for a test runner.
85
86       --part
87           Write the tester classes for a test runner.
88
89       -f, --fog-parser
90           Use new FOG C++ parser (disabled)
91

EXIT STATUS

93       0
94           Success
95
96       1
97           Failure (syntax or usage error; configuration error; document
98           processing failure; unexpected error).
99

BUGS

101       See the CxxTest Home Page for the link to the CxxTest ticket
102       repository.
103

AUTHOR

105       CxxTest was originally written by Erez Volk. Many people have
106       contributed to it.
107

RESOURCES

109       Home page: http://cxxtest.com/
110
111       CxxTest User Guide: http://cxxtest.com/cxxtest/doc/guide.html
112

COPYING

114       Copyright (c) 2008 Sandia Corporation. This software is distributed
115       under the Lesser GNU General Public License (LGPL) v3
116
117
118
119                                  07/20/2022                     CXXTESTGEN(1)
Impressum