summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Schinckel <matt@schinckel.net>2016-04-09 11:48:28 +0930
committerMatthew Schinckel <matt@schinckel.net>2016-04-09 11:48:28 +0930
commit52f364262d947b8a5c925b699accf52f526249cb (patch)
tree4e144d7d1ee4c452c4b92a538950b5e26517c754
parentabb070d098e5a4a687609d5afd6b8007ea54e504 (diff)
downloadtox-52f364262d947b8a5c925b699accf52f526249cb.tar.gz
Improve doc strings.
-rw-r--r--tox/hookspecs.py10
1 files changed, 8 insertions, 2 deletions
diff --git a/tox/hookspecs.py b/tox/hookspecs.py
index ffd6379..db589ed 100644
--- a/tox/hookspecs.py
+++ b/tox/hookspecs.py
@@ -45,9 +45,15 @@ def tox_testenv_install_deps(venv, action):
@hookspec
def tox_runtest_pre(venv):
- """ [experimental] perform arbitrary action before running tests. """
+ """ [experimental] perform arbitrary action before running tests for this venv.
+
+ This could be used to indicate that tests for a given venv have started, for intstance.
+ """
@hookspec
def tox_runtest_post(venv):
- """ [experimental] perform arbitrary action after running tests. """
+ """ [experimental] perform arbitrary action after running tests for this venv.
+
+ This could be used to have per-venv test reporting of pass/fail status.
+ """