File: ur-test-run.pod

package info (click to toggle)
libur-perl 0.430-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 6,672 kB
  • ctags: 2,417
  • sloc: perl: 58,778; xml: 108; sh: 13; makefile: 4
file content (193 lines) | stat: -rw-r--r-- 3,635 bytes parent folder | download | duplicates (5)
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193


=pod

=head1 NAME

ur test run - Run the test suite against the source tree.



=head1 VERSION

This document describes ur test run version 0.29.

=head1 SYNOPSIS

ur test run [--color] [--junit] [--list] [--lsf] [--recurse] [--callcount] [--cover=?] [--cover-cvs-changes] [--cover-svk-changes] [--cover-svn-changes] [--coverage] [--inc=?[,?]] [--jobs=?] [--long] [--lsf-params=?] [--noisy] [--perl-opts=?] [--run-as-lsf-helper=?] [--script-opts=?] [--time=?] [BARE-ARGS]

cd MyNamespace
ur test run --recurse                   # run all tests in the namespace
ur test run                             # runs all tests in the t/ directory under pwd
ur test run t/mytest1.t My/Class.t      # run specific tests
ur test run -v -t --cover-svk-changes   # run tests to cover latest svk updates
ur test run -I ../some/path/            # Adds ../some/path to perl's @INC through -I
ur test run --junit                     # writes test output in junit's xml format (consumable by Hudson integration system)


=head1 REQUIRED ARGUMENTS

=over


=item color  I<Boolean>

Use TAP::Harness::Color to generate color output

Default value 'false' (--nocolor) if not specified

=item nocolor  I<Boolean>

Make color 'false'

=item junit  I<Boolean>

Run all tests with junit style XML output. (requires TAP::Formatter::JUnit)

=item nojunit  I<Boolean>

Make junit 'false'

=item list  I<Boolean>

List the tests, but do not actually run them.

=item nolist  I<Boolean>

Make list 'false'

=item lsf  I<Boolean>

If true, tests will be submitted as jobs via bsub

=item nolsf  I<Boolean>

Make lsf 'false'

=item recurse  I<Boolean>

Run all .t files in the current directory, and in recursive subdirectories.

=item norecurse  I<Boolean>

Make recurse 'false'


=back

=head1 OPTIONAL ARGUMENTS

=over


=item callcount  I<Boolean>

Count the number of calls to each subroutine/method

=item nocallcount  I<Boolean>

Make callcount 'false'

=item cover  I<List>

Cover only this(these) modules

=item cover-cvs-changes  I<Boolean>

Cover modules modified in cvs status

=item nocover-cvs-changes  I<Boolean>

Make cover-cvs-changes 'false'

=item cover-svk-changes  I<Boolean>

Cover modules modified in svk status

=item nocover-svk-changes  I<Boolean>

Make cover-svk-changes 'false'

=item cover-svn-changes  I<Boolean>

Cover modules modified in svn status

=item nocover-svn-changes  I<Boolean>

Make cover-svn-changes 'false'

=item coverage  I<Boolean>

Invoke Devel::Cover

=item nocoverage  I<Boolean>

Make coverage 'false'

=item inc  I<String>

Additional paths for @INC, alias for -I

=item jobs  I<Number>

How many tests to run in parallel

Default value '1' if not specified

=item long  I<Boolean>

Run tests including those flagged as long

=item nolong  I<Boolean>

Make long 'false'

=item lsf-params  I<String>

Params passed to bsub while submitting jobs to lsf

Default value '-q short -R select[type==LINUX64]' if not specified

=item noisy  I<Boolean>

doesn't redirect stdout

=item nonoisy  I<Boolean>

Make noisy 'false'

=item perl-opts  I<String>

Override options to the Perl interpreter when running the tests (-d:Profile, etc.)

Default value '' if not specified

=item run-as-lsf-helper  I<String>

Used internally by the test harness

=item script-opts  I<String>

Override options to the test case when running the tests (--dump-sql --no-commit)

Default value '' if not specified

=item time  I<String>

Write timelog sum to specified file

=item BARE-ARGS

(undocumented)


=back

=head1 DESCRIPTION:

  This command is like "prove" or "make test", running the test suite for the current namespace.



=cut