odoo/addons/base_module_quality
Christophe Simonis 22278b6242 [FIX] (5.0 - 6.0)base_module_quality: speed_test
bzr revid: vra@tinyerp.com-20100511121920-e8tz8tsu92k9ry5c
2010-05-11 17:49:20 +05:30
..
document [ADD] add base_module_quality module 2009-07-03 10:50:40 +05:30
i18n Launchpad automatic translations update. 2010-04-26 04:42:10 +01: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] (5.0 - 6.0)base_module_quality: speed_test 2010-05-11 17:49:20 +05:30
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] base_module_quality: add import statment for _ and give size to name field on save report wizard so that it can display long name also 2010-01-19 16:20:29 +05:30
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
__openerp__.py [IMP] renamed __terp__.py into __openerp__.py 2010-04-19 12:07:52 +02: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.