How to configure exitonfailure option

Hi All,
I’m using the option --exitonfailure
and I have tests that run with specific tag in example
[Tags] ROBOT_TESTS
One of those tests is generating a debug report and creates a tar file that includes all the current status of the tested environment
I want to know,
how can I run this Specific test file even though there was earlier failures and --exitonfailure flag is set
Thanks in advance :slight_smile:

Hi @gavriel.

Maybe the best option is to put the content of the “test” into a keyword, then call that keyword in your Suite teardownn keyword, maybe you might even want to use the IF syntax with ${TEST STATUS} from Automatic variables to only run it if a test failed.

Hope that’s what you’re after,

Dave.

1 Like