doc/book/en/devrepo/testing.rst
branchstable
changeset 6242 d9ebb391782c
parent 6167 376e6c3d4002
child 6243 c0ee416040fa
--- a/doc/book/en/devrepo/testing.rst	Wed Sep 15 08:06:13 2010 +0200
+++ b/doc/book/en/devrepo/testing.rst	Wed Sep 15 10:54:25 2010 +0200
@@ -189,10 +189,10 @@
 Automatic views testing
 -----------------------
 
-This is done automatically with the AutomaticWebTest class. At cube
-creation time, the mycube/test/test_mycube.py file contains such a
-test. The code here has to be uncommented to be usable, without
-further modification.
+This is done automatically with the :class:`cubicweb.devtools.testlib.AutomaticWebTest`
+class. At cube creation time, the mycube/test/test_mycube.py file
+contains such a test. The code here has to be uncommented to be
+usable, without further modification.
 
 The ``auto_populate`` method uses a smart algorithm to create
 pseudo-random data in the database, thus enabling the views to be
@@ -212,6 +212,11 @@
   auto_populate cannot guess by itself; these must yield resultsets
   against which views may be selected.
 
+.. warning::
+
+  Take care to not let the imported `AutomaticWebTest` in your test module
+  namespace, else both your subclass *and* this parent class will be run.
+
 Testing on a real-life database
 -------------------------------