Skip to content

Commit 05d46ca

Browse files
committed
doc/reference: add 4 missing hooks to reference
Fix #9434.
1 parent 443aa02 commit 05d46ca

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

doc/en/reference/reference.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,11 @@ you can use the following hook:
727727
.. hook:: pytest_make_parametrize_id
728728
.. autofunction:: pytest_make_parametrize_id
729729

730+
Hooks for influencing test skipping:
731+
732+
.. hook:: pytest_markeval_namespace
733+
.. autofunction:: pytest_markeval_namespace
734+
730735
After collection is complete, you can modify the order of
731736
items, delete or otherwise amend the test items:
732737

@@ -791,6 +796,10 @@ Session related reporting hooks:
791796
.. autofunction:: pytest_report_collectionfinish
792797
.. hook:: pytest_report_teststatus
793798
.. autofunction:: pytest_report_teststatus
799+
.. hook:: pytest_report_to_serializable
800+
.. autofunction:: pytest_report_to_serializable
801+
.. hook:: pytest_report_from_serializable
802+
.. autofunction:: pytest_report_from_serializable
794803
.. hook:: pytest_terminal_summary
795804
.. autofunction:: pytest_terminal_summary
796805
.. hook:: pytest_fixture_setup
@@ -827,6 +836,8 @@ reporting or interaction with exceptions:
827836
.. autofunction:: pytest_exception_interact
828837
.. hook:: pytest_enter_pdb
829838
.. autofunction:: pytest_enter_pdb
839+
.. hook:: pytest_leave_pdb
840+
.. autofunction:: pytest_leave_pdb
830841

831842

832843
Objects

0 commit comments

Comments
 (0)