# HG changeset patch # User Sylvain Thénault # Date 1286991995 -7200 # Node ID 80ddc3973819bb7c96533a08938a2f35b7f2906e # Parent 103774c8c2159c34e1b4284f1a4759f704081578# Parent 6e0642346f8021371b0b3539d6811a643993c457 backport stable diff -r 103774c8c215 -r 80ddc3973819 doc/book/en/devrepo/testing.rst --- a/doc/book/en/devrepo/testing.rst Wed Oct 13 16:47:22 2010 +0200 +++ b/doc/book/en/devrepo/testing.rst Wed Oct 13 19:46:35 2010 +0200 @@ -327,7 +327,7 @@ Sometimes a small component cannot be tested all by itself, so one needs to specify other cubes to be used as part of the the unit test suite. This is handled by the ``bootstrap_cubes`` file located under -``mycube\test\data``. One example from the `preview` cube:: +``mycube/test/data``. One example from the `preview` cube:: card, file, preview @@ -336,6 +336,10 @@ * possibly several empy lines or lines starting with ``#`` (comment lines) * one line containing a coma separated list of cube names. +It is also possible to add a ``schema.py`` file in +``mycube/test/data``, which will be used by the testing framework, +therefore making new entity types and relations available to the +tests. Test APIS ---------