odoo/addons/base_module_quality
Mustufa Rangwala 3bdca04e28 [MERGE] merge from trunk addons
bzr revid: mra@mra-laptop-20110103090825-h3f9ie8qu7l09ceb
2011-01-03 14:38:25 +05:30
..
document merged with trunk 2010-12-30 15:28:09 +05:30
i18n [MERGE] merge from trunk addons 2011-01-03 14:38:25 +05:30
method_test merged with trunk 2010-12-30 15:28:09 +05:30
object_test merged with trunk 2010-12-30 15:28:09 +05:30
pep8_test merged with trunk 2010-12-30 15:28:09 +05:30
pylint_test merged with trunk 2010-12-30 15:28:09 +05:30
security merged with trunk 2010-12-30 15:28:09 +05:30
speed_test merged with trunk 2010-12-30 15:28:09 +05:30
structure_test merged with trunk 2010-12-30 15:28:09 +05:30
terp_test merged with trunk 2010-12-30 15:28:09 +05:30
unit_test merged with trunk 2010-12-30 15:28:09 +05:30
wizard merged with trunk 2010-12-30 15:28:09 +05:30
workflow_test merged with trunk 2010-12-30 15:28:09 +05:30
README.txt merged with trunk 2010-12-30 15:28:09 +05:30
__init__.py merged with trunk 2010-12-30 15:28:09 +05:30
__openerp__.py merged with trunk 2010-12-30 15:28:09 +05:30
base_module_quality.py merged with trunk 2010-12-30 15:28:09 +05:30
base_module_quality_view.xml merged with trunk 2010-12-30 15:28:09 +05:30
base_module_quality_wizard.xml merged with trunk 2010-12-30 15:28:09 +05:30

README.txt

This module provide a generic framework to define your own quality test. 


All you have to do is to:
* create a folder with your test in 'base_module_quality' (e.g: mkdir base_module_quality\mytest)
* create a .py file in it with same name as the folder you just created (e.g: touch base_module_quality\mytest\mytest.py)
* edit your file and define a class 'quality_check' that 
    * inherits the class 'abstract_quality_test' (defined in base_module_quality.py) 
    * implements the __init__() method accordingly to what you want to test.