You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After stop robot by signal returncode could be for example: STOPPED_BY_USER rc (253).
I think returning the number of failed test cases in this scenario is not the expected result. What do you think?
Current behavior:
(venv) jamoh@jamoh /tmp$ robot example_suite.robot
==============================================================================
Example Suite
==============================================================================
Test Example ^CSecond signal will force exit.
Test Example | FAIL |
Execution terminated by signal
------------------------------------------------------------------------------
Example Suite | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output: /tmp/output.xml
Log: /tmp/log.html
Report: /tmp/report.html
(venv) jamoh@jamoh /tmp$ echo$?
1
Proposal:
(venv) jamoh@jamoh /tmp$ robot example_suite.robot
==============================================================================
Example Suite
==============================================================================
Test Example ^CSecond signal will force exit.
Test Example | FAIL |
Execution terminated by signal
------------------------------------------------------------------------------
Example Suite | FAIL |
1 critical test, 0 passed, 1 failed
1 test total, 0 passed, 1 failed
==============================================================================
Output: /tmp/output.xml
Log: /tmp/log.html
Report: /tmp/report.html
(venv) jamoh@jamoh /tmp$ echo$?
253
The text was updated successfully, but these errors were encountered:
I think with current documentation it's clear about what do you expect after stop the execution in Robot Framework User Guide:
RC
Explanation
0
All critical tests passed.
1-249
Returned number of critical tests failed.
250
250 or more critical failures.
251
Help or version information printed.
252
Invalid test data or command line options.
253
Test execution stopped by user.
255
Unexpected internal error.
And about the PR, I'm not confident about the changes I've made (lot of variable forwarding in order to be available at executionresult.py). I would appreciate a review about that, thanks :)
After stop robot by signal returncode could be for example:
STOPPED_BY_USER
rc (253).I think returning the number of failed test cases in this scenario is not the expected result. What do you think?
Current behavior:
Proposal:
The text was updated successfully, but these errors were encountered: