[IMP] document test runner global conf keys

bzr revid: xmo@openerp.com-20121029110902-ob21050di74vcyqc
This commit is contained in:
Xavier Morel 2012-10-29 12:09:02 +01:00
parent bf4a26d3e8
commit 21e776a56b
1 changed files with 15 additions and 0 deletions

View File

@ -409,6 +409,8 @@ To do this, set the :js:attr:`rpc option <~TestOptions.rpc>` to
handler containing assertions, it multiplies the effective number
of assertions)
.. _testing-rpc-rpc:
Actual RPC
++++++++++
@ -568,6 +570,19 @@ Testing API
should be loaded into QWeb before starting the test. A
boolean, ``false`` by default.
The test runner can also use two global configuration values set
directly on the ``window`` object:
* ``oe_all_dependencies`` is an ``Array`` of all modules with a web
component, ordered by dependency (for a module ``A`` with
dependencies ``A'``, any module of ``A'`` must come before ``A`` in
the array)
* ``oe_db_info`` is an object with 3 keys ``source``, ``supadmin`` and
``password``. It is used to pre-configure :ref:`actual RPC
<testing-rpc-rpc>` tests, to avoid a prompt being displayed
(especially for headless situations).
Running through Python
----------------------