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

Why Getting total scenarios as 6 while I am having total 5 scenarios #581

Closed
ksoniAngel opened this issue Oct 23, 2023 · 3 comments · Fixed by #582
Closed

Why Getting total scenarios as 6 while I am having total 5 scenarios #581

ksoniAngel opened this issue Oct 23, 2023 · 3 comments · Fixed by #582
Labels
🐛 bug Defect / Bug

Comments

@ksoniAngel
Copy link

Screenshot 2023-10-23 at 11 11 26 AM

I am running test as go test -v

getting total 5 scenrioes in which 2 passed and 4 fails.

Expected result := 5 (1 passed, 4 failed)

@roskee
Copy link
Member

roskee commented Oct 23, 2023

Hi, what was the version of godg you were using?

@ksoniAngel
Copy link
Author

@roskee I am running this test by using go test -v for 2 weeks

I installed godog today, It's version is 0.13.0

But this problem is faing since two weeks, some time I got correct number of pass or failed test cases and some time I not.

If any other info required please let me know

@roskee
Copy link
Member

roskee commented Oct 23, 2023

@ksoniAngel I looked into it and it is a bug. I have created a pull request to fix it. But for now, know that it is the passed count that is incorrect. In your case what you expected was indeed the correct result that should have been shown. Thanks for pointing it out 🙏

@roskee roskee added the 🐛 bug Defect / Bug label Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Defect / Bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants