[Checkins] SVN: z3c.testsetup/trunk/src/z3c/testsetup/testrunner.txt Some more docs.
Uli Fouquet
uli at gnufix.de
Mon May 4 10:56:40 EDT 2009
Log message for revision 99713:
Some more docs.
Changed:
U z3c.testsetup/trunk/src/z3c/testsetup/testrunner.txt
-=-
Modified: z3c.testsetup/trunk/src/z3c/testsetup/testrunner.txt
===================================================================
--- z3c.testsetup/trunk/src/z3c/testsetup/testrunner.txt 2009-05-04 14:49:38 UTC (rev 99712)
+++ z3c.testsetup/trunk/src/z3c/testsetup/testrunner.txt 2009-05-04 14:56:40 UTC (rev 99713)
@@ -496,12 +496,18 @@
the file. It is vital that the denoted object really exist. The format
of the layer declaration is::
- :Test-Layerdef: <dotted.name.of.layer.definition>
+ :test-layerdef: <dotted.name.of.layer.definition>
where the marker string can be written in upper or lower or mixed
case. Doing so, the testrunner will apply the declared layer to our
-tests::
+tests.
+To make things more interesting we also created two subpackages in our
+package, named ``foo`` and ``bar``. Both contain functional doctests
+that need separate ZCML code for initialization and use the default
+layer. Although both ZCML files are called ``ftesting.zcml`` the
+setups will run isolated from each other::
+
>>> defaults = [
... '--path', cavepath, '-f',
... '--tests-pattern', '^layeredsetup01$',
More information about the Checkins
mailing list