trivago / cluecumber

Clear and concise reporting for the Cucumber BDD JSON format.

Home Page:https://www.softwaretester.blog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Inconsistent Background handling

bischoffdev opened this issue · comments

Describe the bug
Failure in Background steps followed by skipped steps ist considered skipped instead of failed.

@bischoffdev I saw the code that determines the outcome, you can simplify it a lot.

For all steps in a scenario (background, hooks, regular steps, ect), put them in a list. Then find find the worst status. That's the status of the scenario.

Yes doing this now. I noticed that I never handled Background steps correctly at all.

Ready for release in 3.4.0