Steps to Tear Down Are Not Executed On Failure #161

Closed
blakewatters opened this Issue Oct 22, 2012 · 1 comment

Comments

Projects
None yet
2 participants
Contributor

blakewatters commented Oct 22, 2012

The current implementation of the Tear Down steps works by appending the steps to the end of the normal list of steps and allowing the Test Controller to execute as normal.

This means that in the event that the Scenario fails, the Tear Down steps will not be executed. This is a huge problem if you are actually trying to use the steps to perform expected test environment tear down in preparation for the execution of the next scenario.

I believe most developers will expect that tear down steps will always be executed.

Pull request forth-coming that special cases the Tear Down steps to ensure that they are executed.

Contributor

bnickel commented Sep 12, 2013

Closing as this is not an issue with KIF 2.0.

bnickel closed this Sep 12, 2013

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