[py-svn] r62352 - py/trunk/py/doc
hpk at codespeak.net
hpk at codespeak.net
Mon Mar 2 12:22:11 CET 2009
Author: hpk
Date: Mon Mar 2 12:22:11 2009
New Revision: 62352
Modified:
py/trunk/py/doc/test-config.txt
Log:
add a note about how to specify plugins
Modified: py/trunk/py/doc/test-config.txt
==============================================================================
--- py/trunk/py/doc/test-config.txt (original)
+++ py/trunk/py/doc/test-config.txt Mon Mar 2 12:22:11 2009
@@ -1,7 +1,20 @@
-
Test configuration
========================
+specifying plugins
+---------------------------
+
+you can instruct py.test to use additional plugins by:
+
+* setting the PYTEST_PLUGINS environment variable
+ to a comma-separated list of plugins
+* XXX supplying "--plugins=NAME1,NAME2,..." at the command line
+* setting "pytest_plugins='name1', 'name2'" in
+ ``conftest.py`` files or in python test modules.
+
+py.test will load all plugins along with their dependencies
+(plugins may specify "pytest_plugins" as well).
+
test option values
-----------------------------
More information about the pytest-commit
mailing list