net-a-porter-mobile / XCTest-Gherkin

Gherkin syntax for XCTestCase
Apache License 2.0
254 stars 64 forks source link

Bug: App not reset between runs when Examples table used #183

Open tomleightonstars opened 3 years ago

tomleightonstars commented 3 years ago

Hi @deanWombourne, I think I've found a bug...

When I'm running a Scenario as an Outline with an Examples table, then the app is not being reset after each line of Examples table has been run.

I've tried to debug this and have found that my setUpWithError() function within the base file isn't being hit in-between lines

tomleightonstars commented 3 years ago

Fixed in PR https://github.com/net-a-porter-mobile/XCTest-Gherkin/pull/186