Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Coopdevs OCB mirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Coopdevs
Odoo
Coopdevs OCB mirror
Commits
562de2d9
Commit
562de2d9
authored
14 years ago
by
Xavier Morel
Browse files
Options
Downloads
Patches
Plain Diff
[ADD] documentation on running tests in OpenERP Web core
bzr revid: xmo@openerp.com-20110321122328-u1u55gbf3rfks2xv
parent
698875cc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/source/addons.rst
+2
-0
2 additions, 0 deletions
doc/source/addons.rst
doc/source/development.rst
+22
-1
22 additions, 1 deletion
doc/source/development.rst
with
24 additions
and
1 deletion
doc/source/addons.rst
+
2
−
0
View file @
562de2d9
...
...
@@ -50,6 +50,8 @@ Structure
``tests/``
The directories in which all tests for the addon are located.
.. _addons-testing:
Testing
-------
...
...
This diff is collapsed.
Click to expand it.
doc/source/development.rst
+
22
−
1
View file @
562de2d9
...
...
@@ -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/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment