Status: Accepted
Owner: ----
Labels: Type-Enhancement Priority-Medium Target-2.5

New issue 546 by pekka.klarck: New BuiltIn keyword `Fatal Error` to stop the whole test execution
http://code.google.com/p/robotframework/issues/detail?id=546

We now have a possibility to stop the whole execution using `fatal`
exceptions (issue 366). We should also have a BuiltIn keyword that does the
same thing.

It's implementation could probably be something like this:

def fatal_error(message=None):
    error = AssertionError(message)
    error.ROBOT_EXIT_ON_FAILURE = True
    raise error

Reply via email to