pytest_output.hooks

Custom pytest hooks.

Functions

pytest_output_item_collected(config, item)

Run when an item is collected.

pytest_output.hooks.pytest_output_item_collected(config: Config, item: OutputDataItem) None

Run when an item is collected.

This hook can be used to add additional information to the item.

Parameters:
  • config (pytest.Config) – Pytest config.

  • item (OutputDataItem) – Item data in intermediary well-defined class.