odoo/addons/base_module_quality
Stephane Wirtel fb3ef7a2f4 [FIX] Change the year of the copyright
bzr revid: stephane@openerp.com-20100112091839-a6p7tenhb4e4zxyx
2010-01-12 10:18:39 +01:00
..
document [ADD] add base_module_quality module 2009-07-03 10:50:40 +05:30
i18n Launchpad automatic translations update. 2009-12-28 04:50:51 +00:00
method_test [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
object_test [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
pep8_test [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
pylint_test [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
security [ADD] add base_module_quality module 2009-07-03 10:50:40 +05:30
speed_test [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
structure_test [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
terp_test [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
unit_test [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
wizard [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
workflow_test [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
README.txt [ADD] add base_module_quality module 2009-07-03 10:50:40 +05:30
__init__.py [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
__terp__.py [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
base_module_quality.py [FIX] Change the year of the copyright 2010-01-12 10:18:39 +01:00
base_module_quality_view.xml [IMP] base_module_quality: make minimal score for all test, add message if the score is below limit,varible for whether to activate the test or not 2009-08-28 12:54:57 +05:30
base_module_quality_wizard.xml [ADD] add base_module_quality module 2009-07-03 10:50:40 +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.