Teardowns in test and suite level are used mainly for cleanup. To make sure everything is cleaned up properly, it would be better to run all the keywords inside teardown even if there are failures. Nowadays people are doing this by wrapping all the keywords with `Run Keyword And Ignore Error`. Implementing this ought to be relatively easy when we have the basic ContinueOnFailure mechanism ( issue 137 ) implemented. This change is slightly backwards incompatible, because it's possible that executing keywords in teardown after some other keyword there has failed can cause problems. I believe chances for that are relatively small, though, and in most cases executing rest of the keywords is the-right-thing. If this turns out to be a real problem, we need to implement a way to stop the teardown after failures somehow.
May 4, 2010
(No comment was entered for this change.)
May 6, 2010
This issue is included in RF 2.5 alpha 1.
|► Sign in to add a comment|