[Checkins] SVN: z3c.testsetup/branches/new_markers/CHANGES.txt Update history.

Uli Fouquet uli at gnufix.de
Wed Sep 3 10:05:17 EDT 2008


Log message for revision 90765:
  Update history.

Changed:
  U   z3c.testsetup/branches/new_markers/CHANGES.txt

-=-
Modified: z3c.testsetup/branches/new_markers/CHANGES.txt
===================================================================
--- z3c.testsetup/branches/new_markers/CHANGES.txt	2008-09-03 13:52:59 UTC (rev 90764)
+++ z3c.testsetup/branches/new_markers/CHANGES.txt	2008-09-03 14:05:17 UTC (rev 90765)
@@ -23,7 +23,49 @@
   by using ``module_info_from_dotted_name`` and
   ``module_info_from_package`` from the ``martian.scan`` package.
 
+Feature Changes
+---------------
 
+* New set of testfile markers:
+
+  - `:doctest:`
+
+    marks a testfile as a doctest.
+
+  - `:layer: dotted.name.to.layer.def`
+
+    applies the given layer definition to the tests in the doctest
+    file.
+
+  - `:zcml-layer: filename.zcml`
+
+    sets up a ZCML layer with the given filename and applies this
+    layer to the doctests in the doctest file.
+
+  - `:functional-zcml-layer: filename.zcml`
+
+    sets up a ZCML layer with the given filename and applies this
+    layer to the doctests in the doctest file. Furthermore the tests
+    are set up as functional doc tests.
+
+  - `:setup: dotted.name.to.setup.function`
+
+    applies the setUp function denoted by the dotted name to the tests
+    in the doctest file.
+
+  - `:teardown: dotted.name.to.teardown.function`
+
+    applies the tearDown function denoted by the dotted name to the
+    tests in the doctests file.
+
+  See the examples in `tests/othercave` and README2.txt to learn more
+  about using these new directives.
+
+  The old `:test-layer:` marker is still supported but it is
+  deprecated now and will vanish with the 0.4 version of
+  `z3c.testsetup`.
+
+
 0.2.2 (2008-02-29)
 ==================
 



More information about the Checkins mailing list