File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -114,8 +114,8 @@ Check Test Tags
114
114
RETURN ${tc }
115
115
116
116
Check Body Item Data
117
- [Arguments] ${item } ${type } =KEYWORD ${status } =PASS ${children } =-1 &{others }
118
- FOR ${key } ${expected } IN type=${type } status=${status } type=${type } &{others }
117
+ [Arguments] ${item } ${type } =KEYWORD ${status } =PASS ${message } = ${ children } =-1 &{others }
118
+ FOR ${key } ${expected } IN type=${type } status=${status } type=${type } message= ${ message } &{others }
119
119
IF $key == 'status' and $type == 'MESSAGE' CONTINUE
120
120
VAR ${actual } ${item.${key } }
121
121
IF isinstance($actual, collections.abc.Iterable) and not isinstance($actual, str)
Original file line number Diff line number Diff line change 14
14
15
15
Failing
16
16
${tc } = Check Test Case ${TESTNAME }
17
- Check Body Item Data ${tc[0] } type=GROUP name=Fails children=2 status=FAIL
18
- Check Body Item Data ${tc[0, 0] } type=KEYWORD name=Fail children=1 status=FAIL
17
+ Check Body Item Data ${tc[0] } type=GROUP name=Fails children=2 status=FAIL message=Failing inside GROUP!
18
+ Check Body Item Data ${tc[0, 0] } type=KEYWORD name=Fail children=1 status=FAIL message=Failing inside GROUP!
19
19
Check Body Item Data ${tc[0, 1] } type=KEYWORD name=Fail children=0 status=NOT RUN
20
20
Check Body Item Data ${tc[1] } type=GROUP name=Not run children=1 status=NOT RUN
21
21
Check Body Item Data ${tc[1, 0] } type=KEYWORD name=Fail children=0 status=NOT RUN
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ Non-existing variable in name
36
36
Invalid data is not reported after failures
37
37
${tc } Check Test Case ${TESTNAME }
38
38
Length Should Be ${tc.body } 4
39
- Check Body Item Data ${tc[0] } KEYWORD status=FAIL children=1 name=Fail args=Something bad happened!
39
+ Check Body Item Data ${tc[0] } KEYWORD status=FAIL children=1 name=Fail args=Something bad happened! message=Something bad happened!
40
40
Check Body Item Data ${tc[1] } GROUP status=NOT RUN children=1 name=\${non_existing_non_executed_variable_is_ok}
41
41
Check Body Item Data ${tc[1, 0] } KEYWORD status=NOT RUN children=0 name=Fail args=Not run
42
42
Check Body Item Data ${tc[2] } GROUP status=NOT RUN children=0 name=Empty non-executed GROUP is ok
You can’t perform that action at this time.
0 commit comments