odoo/addons/base_module_quality
HDA (OpenERP) a309551148 Module:base_module_quality added unit_test
bzr revid: hda@tinyerp.com-20091013121820-kvf3u7rt1ifbp8la
2009-10-13 17:48:20 +05:30
..
document [ADD] add base_module_quality module 2009-07-03 10:50:40 +05:30
i18n [IMP] update translations 2009-08-28 18:26:26 +02:00
method_test [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
object_test [IMP] base_module_quality: styles on different tests 2009-09-29 17:50:27 +05:30
pep8_test [IMP] base_module_quality: styles on different tests 2009-09-29 17:50:27 +05:30
pylint_test [IMP] base_module_quality: styles on different tests 2009-09-29 17:50:27 +05:30
security [ADD] add base_module_quality module 2009-07-03 10:50:40 +05:30
speed_test [IMP] base_module_quality: styles on different tests 2009-09-29 17:50:27 +05:30
structure_test [IMP] base_module_quality: styles on different tests 2009-09-29 17:50:27 +05:30
terp_test [IMP] base_module_quality: styles on different tests 2009-09-29 17:50:27 +05:30
unit_test Module:base_module_quality added unit_test 2009-10-13 17:48:20 +05:30
wizard [IMP] base_module_quality: styles on different tests 2009-09-29 17:50:27 +05:30
workflow_test [IMP] base_module_quality: styles on different tests 2009-09-29 17:50:27 +05:30
README.txt [ADD] add base_module_quality module 2009-07-03 10:50:40 +05:30
__init__.py [ADD] add base_module_quality module 2009-07-03 10:50:40 +05:30
__terp__.py [ADD] add base_module_quality module 2009-07-03 10:50:40 +05:30
base_module_quality.py [IMP] base_module_quality: styles on different tests 2009-09-29 17:50:27 +05:30
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.