Files
odoo_source/addons/base_module_quality
P. Christeas 49f8d24d4a [FIX]module_quality: trivial logging, multi-addons paths, Fix exceptions, use separate db cursors.
Log some of the exceptions that occur, so that we can understand why our
tests fail.
Run each test on its own cursor, don't let SQL errors render the whole

bzr revid: hmo@tinyerp.com-20100907095055-9sa11rnvir8y7npw
2010-09-07 15:20:55 +05:30
..
2010-06-24 12:43:42 +05:30
2010-06-24 12:43:42 +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.