Status: Accepted
Owner: pekka.klarck
Labels: Type-Defect Priority-Medium Target-2.5.1

New issue 585 by pekka.klarck: Timeouts and fatal errors should stop execution of templated tests immediately
http://code.google.com/p/robotframework/issues/detail?id=585

The executing of test with a test template should stop immediately if there is test/keyword timeout or a fatal error. For example, all the rounds of the following tests are executed in RF 2.5:

***Test Case***
Timeout example
    [Timeout]  0.1 seconds
    [Template]  Sleep
    0.3 seconds
    0.2 seconds
    0.1 seconds
Fatal example
    [Template]  Run Keyword
    Fatal Error  This should stop execution immediately
    Fail  This should not be executed

This problem is very similar to issue 521 about keyword executing other keywords hiding timeouts and syntax errors. I'm not sure should syntax errors end the execution also in this case or not. My intuition says it's better not to do that but I'm easily convinced otherwise.
 similarly if there is a fatal

Reply via email to