diff options
Diffstat (limited to 'doc/source/development.rst')
| -rw-r--r-- | doc/source/development.rst | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/doc/source/development.rst b/doc/source/development.rst index aebf57c1086..a2be0ec2eef 100644 --- a/doc/source/development.rst +++ b/doc/source/development.rst @@ -6,4 +6,25 @@ Contributing to OpenERP Web * QWeb code documentation/description * Documentation of the OpenERP APIs and choices taken based on that? * Style guide and coding conventions (PEP8? More) -* Test frameworks for Python and JS? +* Test frameworks in JS? + +Testing +------- + +Python +++++++ + +Testing for the OpenERP Web core is similar to :ref:`testing addons +<addons-testing>`: the tests live in ``openerpweb.tests``, unittest2_ +is the testing framework and tests can be run via either unittest2 +(``unit2 discover``) or via nose_ (``nosetests``). + +Tests for the OpenERP Web core can also be run using ``setup.py +test``. + + +.. _unittest2: + http://www.voidspace.org.uk/python/articles/unittest2.shtml + +.. _nose: + http://somethingaboutorange.com/mrl/projects/nose/1.0.0/ |
