pytest-html
pytest-html copied to clipboard
Documentation/comments : Could you better document the hooks arguments type ?
trafficstars
Could,
Could you add more comments to the code and Readme files so that we can better understand the type of objects and the attributes of the following parameters :
- report
- prefix
- summary
- postfix
- cells
- data
I found them in the following hookers:
- def pytest_html_report_title(report):
- def pytest_html_results_summary(prefix, summary, postfix):
- def pytest_html_results_table_header(cells):
- def pytest_html_results_table_row(report, cells):
- def pytest_html_results_table_html(report, data):
By reading the source code, I have no idea what kind of attributes of methods each parameter has.
Thank you