From 88aa8f54358b30b42bf1a9b867ab7ba350ac3e01 Mon Sep 17 00:00:00 2001 From: holger krekel Date: Thu, 8 Aug 2013 23:32:14 +0200 Subject: [PATCH] mention pytest_collection_modifyitems in plugin page --- doc/en/plugins.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/en/plugins.txt b/doc/en/plugins.txt index 4c427a21e..a86115efb 100644 --- a/doc/en/plugins.txt +++ b/doc/en/plugins.txt @@ -339,6 +339,10 @@ you can use the following hook: .. autofunction:: pytest_pycollect_makeitem .. autofunction:: pytest_generate_tests +After collection is complete, you can modify the order of +items, delete or otherwise amend the test items: + +.. autofunction:: pytest_collection_modifyitems Reporting hooks ------------------------------