Repository navigation
Add robot:stop-on-failure / recursive-stop-on-failure to disable continue-on-failure in teardown/template - #4313
Conversation
There was a problem hiding this comment.
Looks good but there seems to be a bug in handling nested usage of robot:recursive-continue-on-failure and robot:recursive-stop-on-failure. Handling situation where these tags are set in test level when failure occurs in teardown could possibly be changed as well.
I didn't look at the tests yet. Changes above require changes to them anyway.
This feature will also need documentation.
- continuable kws are not impacted by stop-on-failure - move check for teardown context into context.continue_on_failure() - adjust tests
|
|
||
| The `robot:stop-on-failure` and its recursive variant | ||
| `robot:recursive-stop-on-failure` can also be used to alter | ||
| the default continue behavior of Teardowns and Templates: |
There was a problem hiding this comment.
Assuming suitable sections exist, it would be good to add links to sections about teardowns and templates.
There was a problem hiding this comment.
done.. it reads a bit strange, though.. not sure if rst allows something like[text](link)
|
Latest changes look great! My (hopefully) final comments/questions:
|
|
Huge thanks for a great PR @oboehmer! |
This PR adds two new tags to control the continue-on-failure behaviour in teardown or test template, addressing #4303