Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Good to have support similar to "soft assertions" in testng #24

Closed
karthikvellur opened this issue Mar 5, 2017 · 4 comments
Closed
Assignees
Labels

Comments

@karthikvellur
Copy link

karthikvellur commented Mar 5, 2017

Good to have support similar to "soft assertions" in testng. This will help to get all the list of failures in one shot instead of running the tests multiple times

@karthikvellur
Copy link
Author

Please mark this request as "enhancement". Seems like i do not have the permissions to do so.

@karthikvellur karthikvellur changed the title Good to have support similar to "soft assertions" similar to testng Good to have support similar to "soft assertions" in testng Mar 5, 2017
@ptrthomas ptrthomas self-assigned this Mar 5, 2017
@ptrthomas
Copy link
Member

I found this discussion on the Cucumber GitHub which explains why this may not be such a good idea: cucumber/common#79

@ptrthomas
Copy link
Member

see previous comment for reason, closing as wontfix.

there is a also an interesting workaround. collect an array of booleans for each assertion that you make. use match each on the last step to validate that all assertions passed.

@ptrthomas
Copy link
Member

for those coming across this issue in future, note that a Scenario Outline will run all rows even if one failed. the same applies to using call to loop over a JSON array.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants