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

Documentation/comments : Could you better document the hooks arguments type ? #289

Open
h-rueda opened this issue Apr 6, 2020 · 0 comments
Open

Comments

@h-rueda
Copy link

@h-rueda h-rueda commented Apr 6, 2020

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

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

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.