From 04079f9ae592cf5c8e672f28842ea27c8574c453 Mon Sep 17 00:00:00 2001 From: Raphael Pierzina Date: Wed, 4 Nov 2015 14:49:02 +0100 Subject: [PATCH] Start doc section on ``--ignore`` in pytestcollection.rst --- doc/en/example/pythoncollection.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/doc/en/example/pythoncollection.rst b/doc/en/example/pythoncollection.rst index 423112af7..dc2ad3623 100644 --- a/doc/en/example/pythoncollection.rst +++ b/doc/en/example/pythoncollection.rst @@ -1,6 +1,13 @@ Changing standard (Python) test discovery =============================================== +Ignore paths during test collection +----------------------------------- + +You can easily ignore certain test directories and modules during collection +by passing the ``--ignore=path`` option on the cli. ``pytest`` allows multiple +``--ignore`` options. + Changing directory recursion -----------------------------------------------------