Skip to content

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

Open
@harmin-parra

Description

@harmin-parra

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsThis issue/PR relates to or includes documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions