From 0caee1a67385e8cf59eab934b9ecb13d4d3e816a Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Tue, 12 Jan 2016 21:59:18 -0200 Subject: [PATCH] Add a few missing hooks to the docs --- doc/en/writing_plugins.rst | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/doc/en/writing_plugins.rst b/doc/en/writing_plugins.rst index b0522a3d0..0321b9402 100644 --- a/doc/en/writing_plugins.rst +++ b/doc/en/writing_plugins.rst @@ -485,12 +485,20 @@ Session related reporting hooks: .. autofunction:: pytest_itemcollected .. autofunction:: pytest_collectreport .. autofunction:: pytest_deselected +.. autofunction:: pytest_report_header +.. autofunction:: pytest_report_teststatus +.. autofunction:: pytest_terminal_summary And here is the central hook for reporting about test execution: .. autofunction:: pytest_runtest_logreport +You can also use this hook to customize assertion representation for some +types: + +.. autofunction:: pytest_assertrepr_compare + Debugging/Interaction hooks ---------------------------