-
Notifications
You must be signed in to change notification settings - Fork 241
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 add additional content to Summary section? #109
Comments
Interesting, though the summary section is not limited to a module, it represents the entire test session. It sounds like you'll need a new hook for extending the summary section. Please feel free to open a pull request introducing a |
I would like to access the config data inside the pytest_html_results_summary hook to add the details of the command being invoked to run the test as a part of summary. Something like below to appear in the report after summary section" Summary (Un)check the boxes to filter the results. 1 passed, 1 skipped, 0 failed, 0 errors, 0 expected failures, 0 unexpected passes Command to reproduce the test Currently, there is only provision to add some generic string in the pytest_html_results_summary hook. So I'm not able to access the preset config option inside the hook. Is there any other way to acheive this? Please let me know on this |
I need to add a Score value to the summary section in html report. There is a mention about how to add additional content to Environment section but not for summary. Please guide me on this.
I am developing a feature to score the test module based on the weightage given to test cases and applying mathematics to obtain the final score for the entire module. I need to print this score either in summary section or before the results table.
The text was updated successfully, but these errors were encountered: