142
142
when outside a DETAILS region unexpected lines which are not interpreted by
143
143
the parser - they should be forwarded unaltered.
145
test|testing|test:|testing: test label
146
success|success:|successful|successful: test label
147
success|success:|successful|successful: test label DETAILS
149
failure: test label DETAILS
151
error: test label DETAILS
153
skip[:] test label DETAILS
155
xfail[:] test label DETAILS
145
test|testing|test:|testing: test LABEL
146
success|success:|successful|successful: test LABEL
147
success|success:|successful|successful: test LABEL DETAILS
149
failure: test LABEL DETAILS
151
error: test LABEL DETAILS
153
skip[:] test LABEL DETAILS
155
xfail[:] test LABEL DETAILS
156
uxsuccess[:] test LABEL
157
uxsuccess[:] test LABEL DETAILS
160
162
time: YYYY-MM-DD HH:MM:SSZ
162
165
DETAILS ::= BRACKETED | MULTIPART
163
166
BRACKETED ::= '[' CR UTF8-lines ']' CR
164
167
MULTIPART ::= '[ multipart' CR PART* ']' CR
200
203
The time directive acts as a clock event - it sets the time for all future
201
204
events. The value should be a valid ISO8601 time.
203
The skip result is used to indicate a test that was found by the runner but not
204
fully executed due to some policy or dependency issue. This is represented in
205
python using the addSkip interface that testtools
206
(https://edge.launchpad.net/testtools) defines. When communicating with a non
207
skip aware test result, the test is reported as an error.
208
The xfail result is used to indicate a test that was expected to fail failing
209
in the expected manner. As this is a normal condition for such tests it is
210
represented as a successful test in Python.
211
In future, skip and xfail results will be represented semantically in Python,
212
but some discussion is underway on the right way to do this.
206
The skip, xfail and uxsuccess outcomes are not supported by all testing
207
environments. In Python the testttools (https://launchpad.net/testtools)
208
library is used to translate these automatically if an older Python version
209
that does not support them is in use. See the testtools documentation for the
212
skip is used to indicate a test was discovered but not executed. xfail is used
213
to indicate a test that errored in some expected fashion (also know as "TODO"
214
tests in some frameworks). uxsuccess is used to indicate and unexpected success
215
where a test though to be failing actually passes. It is complementary to