Files
odoo_source/addons/base_module_quality
Mod2 Team (OpenERP) 52b0a8eaa6 [IMP] base_module_quality
* replace __terp__ with __openerp__ in all tests.

bzr revid: hmo@tinyerp.com-20100624071342-je03w5mouzlg0kmz
2010-06-24 12:43:42 +05:30
..
2010-06-24 12:43:42 +05:30
2010-06-24 12:43:42 +05:30
2010-06-24 12:43:42 +05:30
2010-06-24 12:43:42 +05:30
2010-05-21 18:28:31 +05:30

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.