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
{{ message }}
Repository navigation
Support for stopping execution on error (--ExitOnError) #1807
Errors importing libraries or resource files, taking listeners into use, etc. are reported on the console and on the top of the log file, but otherwise errors themselves do not affect test execution. The actual cause for the error typically causes problems, though. For example, if a library cannot be imported, keywords it contain are not available and tests fail later.
Sometimes it would be handy to stop the whole execution if an error occurs. This would save time if it is known that execution cannot succeed after errors anyway. We can enable such mode with new --ExitOnError command line option. It would be somewhat similar to the existing --ExitOnFailure that stops execution if any critical test fails.
This functionality is needed at Nokia. I assign this tentatively to RF 2.8.6, but if implementation turns out to be complicated, we'll move it to 2.9.
Activity
New --ExitOnError commandline option (#1807).
Refactored robot.running.status module contents.
pekkaklarck commentedon Sep 26, 2014
This is now done otherwise but the command line option still needs to be documented on the User Guide.
Enhancing --ExitOnError tests (#1807)
ExitOnError: Doc enhancements missed from prev commit (#1807).