gabrielfalcao/lettuce — Issue #205: Sanitize 'world' between scenarios
Author: ilkka
Created: 2011-12-16 11:09:31+00:00
State: open

It seems that when running multiple features and scenarios, the stuff I store in world doesn't get removed between scenarios. I just only noticed this when, instead of running all my features I just ran a single one, and that failed because a property of world that I had an assert on didn't exist. Now when I run all features, they are green: some other scenario in another feature creates this property, and it just so happens to contain the correct stuff so that the assert doesn't fail.

I feel like Lettuce should make sure world is in a consistent, blank-slate state at the start of every Scenario.