summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Collins <robertc@robertcollins.net>2012-05-03 21:28:00 +1200
committerRobert Collins <robertc@robertcollins.net>2012-05-03 21:28:00 +1200
commit129162a3fa40c605d1de64276a91dd806a3472dc (patch)
treeba147eb4f309a5c8ed7a04525fd79add7d6e70cd /doc
parent78847dcc9a8e87227b02be39fe834ee85e3e1157 (diff)
downloadtestrepository-git-129162a3fa40c605d1de64276a91dd806a3472dc.tar.gz
Implement hiding of tagged tests.
Diffstat (limited to 'doc')
-rw-r--r--doc/MANUAL.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/doc/MANUAL.txt b/doc/MANUAL.txt
index 3d4c64c..d925fb6 100644
--- a/doc/MANUAL.txt
+++ b/doc/MANUAL.txt
@@ -98,6 +98,23 @@ on the machine, and then invoke multiple test runners at the same time, with
each test runner getting one partition. Currently the partitioning algorithm
is a simple round-robin, and the CPU detection is only implemented for Linux.
+Hiding tests
+~~~~~~~~~~~~
+
+Some test runners (for instance, zope.testrunner) report pseudo tests having to
+do with bringing up the test environment rather than being actual tests that
+can be executed. These are only relevant to a test run when they fail - the
+rest of the time they tend to be confusing. For instance, the same 'test' may
+show up on multiple parallel test runs, which will inflate the 'executed tests'
+count depending on the number of worker threads that were used. Scheduling such
+'tests' to run is also a bit pointless, as they are only ever executed
+implicitly when preparing (or finishing with) a test environment to run other
+tests in.
+
+testr can ignore such tests if they are tagged, using the filter_tags
+configuration option. Tests tagged with any tag in that (space separated) list
+will only be included in counts and reports if the test failed (or errored).
+
Repositories
~~~~~~~~~~~~