Skip to content

Docs: collection hooks listed under reporting hooks #12658

Open
@soxofaan

Description

@soxofaan

In the docs, under "reporting hooks" I see a couple of hooks that I would expect under "collection hooks":

  • pytest_collectstart
  • pytest_make_collect_report
  • pytest_itemcollected
  • pytest_collectreport
  • pytest_deselected

Reporting hooks
~~~~~~~~~~~~~~~
Session related reporting hooks:
.. hook:: pytest_collectstart
.. autofunction:: pytest_collectstart
.. hook:: pytest_make_collect_report
.. autofunction:: pytest_make_collect_report
.. hook:: pytest_itemcollected
.. autofunction:: pytest_itemcollected
.. hook:: pytest_collectreport
.. autofunction:: pytest_collectreport
.. hook:: pytest_deselected
.. autofunction:: pytest_deselected

is that intended for some reason?

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: docsdocumentation improvement, missing or needing clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions