Skip to content

Avoid errors when elements is not present in a feature - #18

Open
lawnmowerlatte wants to merge 7 commits into
behalf-oss:masterfrom
lawnmowerlatte:master
Open

Avoid errors when elements is not present in a feature#18
lawnmowerlatte wants to merge 7 commits into
behalf-oss:masterfrom
lawnmowerlatte:master

Conversation

@lawnmowerlatte

Copy link
Copy Markdown
Contributor

If there are no tests run, the elements field is not present in the behave output which causes behave2cucumber to generate an error. This change avoids this error by checking before accessing.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant