Skip to content

Support for stopping execution on error (--ExitOnError) #1807

Closed

Description

@pekkaklarck

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

  1. added this to the 2.8.6 milestone on Sep 23, 2014
  2. self-assigned this
    on Sep 26, 2014
  3. pekkaklarck commented on Sep 26, 2014

    @pekkaklarck
    MemberAuthor

    This is now done otherwise but the command line option still needs to be documented on the User Guide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions