@@ -93,43 +93,59 @@ description:
93
93
result: OVERALL_RESULT
94
94
plans:
95
95
/plan/one:
96
- result: PLAN_RESULT
96
+ result: PLAN_OUTCOME
97
97
tests:
98
98
/test/one:
99
- result: TEST_RESULT
99
+ result: TEST_OUTCOME
100
100
log: LOG_PATH
101
101
102
102
/test/two:
103
- result: TEST_RESULT
103
+ result: TEST_OUTCOME
104
104
log:
105
105
- LOG_PATH
106
106
- LOG_PATH
107
107
- LOG_PATH
108
108
/plan/two:
109
- result: PLAN_RESULT
109
+ result: PLAN_OUTCOME
110
110
/test/one:
111
- result: TEST_RESULT
111
+ result: TEST_OUTCOME
112
112
log: LOG_PATH
113
113
114
114
Where ``OVERALL_RESULT`` is the overall result of all plan
115
- results. It is counted the same way as ``PLAN_RESULT``.
116
-
117
- Where ``TEST_RESULT`` is the same as in `execute`_ step
118
- definition:
119
-
120
- * info - test finished and produced only information
121
- message
122
- * passed - test finished and passed
123
- * failed - test finished and failed
124
- * error - a problem encountered during test execution
125
-
126
- Note the priority of test results is as written above,
115
+ results. It is counted the same way as ``PLAN_OUTCOME``.
116
+
117
+ Where ``TEST_OUTCOME`` is the same as ``OUTCOME`` in
118
+ the `execute`_ step definition:
119
+
120
+ pass
121
+ Test execution successfully finished and passed.
122
+ info
123
+ Test finished but only produced an informational
124
+ message. Represents a soft pass, used for skipped
125
+ tests and for tests with the :ref:`/spec/tests/result`
126
+ attribute set to *ignore*. Automation must treat
127
+ this as a passed test.
128
+ warn
129
+ A problem appeared during test execution which does
130
+ not affect test results but might be worth checking
131
+ and fixing. For example test cleanup phase failed
132
+ or a check failure for a passing test. Automation
133
+ must treat this as a failed test.
134
+ error
135
+ Undefined problem encountered during test execution.
136
+ Human inspection is needed to investigate whether it
137
+ was a test bug, infrastructure error or a real test
138
+ failure. Automation must treat it as a failed test.
139
+ fail
140
+ Test execution successfully finished and failed.
141
+
142
+ Note the priority of test results is as written above,
127
143
with ``info`` having the lowest priority and ``error`` has
128
- the highest. This is important for ``PLAN_RESULT ``.
144
+ the highest. This is important for ``PLAN_OUTCOME ``.
129
145
130
- Where ``PLAN_RESULT `` is the overall result or all test
146
+ Where ``PLAN_OUTCOME `` is the overall result or all test
131
147
results for the plan run. It has the same values as
132
- ``TEST_RESULT ``. Plan result is counted according to the
148
+ ``TEST_OUTCOME ``. Plan result is counted according to the
133
149
priority of the test outcome values. For example:
134
150
135
151
* if the test results are info, passed, passed - the
0 commit comments