pabot
pabot copied to clipboard
Report the correct status of the test in the console output
When we use the tags robot:exclude
and robot:skip-on-failure
on tests, the console output gives the test as PASSED, instead of EXCLUDED or SKIPPED. This provides misleading information about the real status of the test execution.
For instance: 2023-05-04 04:58:36.220473 [PID:240] [0] [ID:34] PASSED MySkippedTest in 4.9 seconds
The status of the test is obviously correct in the log.html or report.html, but having the good status in the console output is interesting, when we have long runs on CI, and we want a quick feedback about specific tests by reading the console output during the execution.