My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 544: Run all keywords in teardown even if there are failures
  Back to list
Status:  Done
Owner:  jussi.ao...@gmail.com
Closed:  May 2010
Cc:  pekka.klarck


Sign in to add a comment
 
Project Member Reported by pekka.klarck, Apr 30, 2010
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
Project Member #1 jussi.ao...@gmail.com
implemented in revision r3151
This will be documented in  issue 541 
Status: Done
May 4, 2010
Project Member #2 pekka.klarck
(No comment was entered for this change.)
Owner: jussi.ao.malinen
Cc: pekka.klarck
May 6, 2010
Project Member #3 jussi.ao...@gmail.com
This issue is included in RF 2.5 alpha 1.
Labels: alpha1
Sign in to add a comment

Powered by Google Project Hosting