-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathhelp.txt
More file actions
95 lines (73 loc) · 4.6 KB
/
Copy pathhelp.txt
File metadata and controls
95 lines (73 loc) · 4.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
Executes a batch of tests in parallel. A test is a specifically built shell
command.
First arguments are runner options, as described below. They always come in
pairs of type -optionName optionValue. After all options have been
specified, all the remaining arguments are a list of files/directories
containing tests. For directories, all test files inside them will be
executed recursively.
In addition, the following options are supported:
-gen test-generator - Optional. Path to a program used to generate test
output. Tests will be first executed by test generator, and the output
produced by test-generator run will be compared to the output produced by
test-runner. If no generator is provided, only tests which have a
corresponding ".out" file are run.
-condGen true/false - Optional. Conditional test out generation. If true,
generator will be executed only for tests which don't have a corresponding
.out file. If false, generator will be executed for all tests. Default is
true.
-run test-runner - Optional. Path to a program used to run the tests. At
least one of the arguments -gen and -run should be specified.
-taskExt test-file-extension - Optional. Extension of test files. If not
specified, all files in the target directory will be considered tests,
except those having extensions with test input/output. If specified,
then directories with name ending in .taskExt will be considered individual
tasks, not directories with tasks. This allows individual tasks
to contain an arbitrary number of files and directories.
-timeout test-timeout - Optional. Amount of time to wait, in seconds, until
test execution is halted. Default is 0, meaning no timeout.
-killProcessTreeOnTimeout true/false - Optional. If false, in case of timeout
just the direct subprocess is killed. If true, the whole subprocess tree is
killed. Option true is supported only on Windows OS. Default is false.
-threads threads-count - Optional. Amount of threads on which tests are
executed. Default is 1.
-rep report-file - Optional. Name xml file where test suite report will be
written. Default is test-results.xml .
-inExt input-extension - Optional. Extension of files containing standard
input for a test. Not all tests should have standard input, in this case no
input will be redirected to them. Default is "in".
-expectedOutExt expected-out-extension - Optional. Extension of files
containing expected output for a test. If for a particular test expected
output is present, actual output will be compared to that expected output.
If not present, expected output will be generated using test-generator (if
specified). Default is "out".
-actualOutExt actual-out-extension - Optional. Extension of files where
actual test output will be stored. Default is "stdout".
-errExt standard-error-extension - Optional. Extension of files where
standard error stream will be redirected. Default is "stderr".
-generrExt generator-standard-error-extension - Optional. Extension of
files where generator standard error stream will be stored. Default is
"generr".
-compExt - comparison-extension - Optional. Extension of files where
comparison result of expected output and actual output will be stored.
This file will be generated only for failing tests. Default is "comp".
-testsuiteName - name - Optional. Display name of the test suite, in the
report xml file. default is "test suite"
-classnameStyle - Optional. Available values: simple, complete.
Whether classname tag should name the complete name of the directories
that contain tests, or just their simple name. Default is complete.
-encodeXML - Optional. Default is false. If false, error and failure messages
are inserted into the test report in their original form. If true,
special characters are encoded to be compatible with the XML standard.
Value false is recommended for visual inspection. Value true - for
integration with Jenkins.
-rm - remove script - Optional. Path to the script used to remove temp
directory. The script should receive one argument - the directory to remove.
Used to speedup temp dir removal. If not specified, temp removal will be
performed by test runner.
-clean true/false - Optional. If true, temp directory created at previous
test suite execution will be deleted before current test suite execution.
If false, it will be left untouched and any created files will be written over.
Default is true.
-smartGen true/false - Optional. If true, generator will not be run if
corresponding .out file already exists either in the same dir as test file,
or in the temp dir, from earlier test runner runs. Default is true.