[Checkins] SVN: zope.testrunner/trunk/DEVELOPING.txt Clarification in the docs.
Lennart Regebro
regebro at gmail.com
Thu Apr 29 06:31:02 EDT 2010
Log message for revision 111569:
Clarification in the docs.
Changed:
U zope.testrunner/trunk/DEVELOPING.txt
-=-
Modified: zope.testrunner/trunk/DEVELOPING.txt
===================================================================
--- zope.testrunner/trunk/DEVELOPING.txt 2010-04-29 10:27:06 UTC (rev 111568)
+++ zope.testrunner/trunk/DEVELOPING.txt 2010-04-29 10:31:02 UTC (rev 111569)
@@ -2,9 +2,21 @@
developing zope.testrunner
**************************
-Zope testrunner needs itself to run it's own tests. The standard way to set up
-a testrunner to test zope.testrunner with, is to use buildout::
+Zope testrunner needs itself to run it's own tests. There are two ways to
+do that.
+Note: At the moment of writing buildout does not support Python 3, and
+therefore you must use the latter way of running the tests in Python 3.
+Also, the zc.recipe.testrunner doesn't yet support zope.testrunner, so
+actually, the first way doesn't work unless you manually edit bin/test.
+
+
+Using zc.buildout
+-----------------
+
+The standard way to set up a testrunner to test zope.testrunner with,
+is to use buildout::
+
# python bootstrap.py
# bin/buildout
@@ -17,7 +29,10 @@
Tearing down left over layers:
Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
-However, you may run the tests without buildout as well, as the setup.py has
+Using setup.py
+--------------
+
+You may run the tests without buildout as well, as the setup.py has
a custom test command that will run the tests:
# python setup.py test
@@ -39,7 +54,3 @@
Tearing down left over layers:
Tear down zope.testrunner.layer.UnitTests in 0.000 seconds.
-Which one you prefer is much a matter of taste. At the moment of writing
-buildout does not support Python 3, and therefore you must use the latter way
-of running the tests in Python 3.
-
More information about the checkins
mailing list