-
Notifications
You must be signed in to change notification settings - Fork 221
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
How to view the summary of test feature report for pytest-bdd?. #359
Comments
I can recommend you to look on pytest-html and screenshot and of course Junit .xml report can be generated by pytest for your CI test result parser. |
Thanks @v-buriak for the reply. I did check on pytest-html report. The report is pretty good itself. However, it doesn't give me details about the feature wise/scenarios that were passed/failed. So wondering if we have any report/ method to get that summary count. |
Using tags I divided my runs into features. Each job is creating report for particular feature. This also allows me to run many features in parallel in different Docker containers. |
Thanks @Vic152 for the reply. I've around 35 feature files that are individually tagged by their feature names. It will be tedious to run those individually. Also I need the report to be consolidated in a single html file. If I run the jobs individually, I need to get summary of these individual runs to a single consolidated report. So I was checking for any decent options on displaying the summary for all the feature files in the report. |
Hi @CuriousQA, If you use some CI to run your tests you can check on the plugin https://plugins.jenkins.io/cucumber-reports/. I'm looking for how to run the tests in parallel mode yet. Regards |
Can you please help/guide me to know how will the pytest-bdd report produce an output in summary(similar to or like in cucumber). The main info I am looking for is to show the scenarios, and count for passed/failed etc as highlighted in green in the below.
However, this is what I see when I run the command "pytest "
3 passed, 18 deselected, 5 warnings in 4.41s
The text was updated successfully, but these errors were encountered: