Friday, September 24, 2010

OpenERP Automated Tests & Reports

The new automated test framework for OpenERP is finished in trunk. It consists of 1604 tests spread in 146 complete scenari. Every commit run a series of tests, according to the modules changed in the commit. These tests are validating the business logic, but also the reports of OpenERP.

The automated test server is built on buildbot. Here is an example of automated test that failed: http://test.openobject.com/builders/buildbot-openobject-addons/builds/38

If you want to see all the available reports in OpenERP, just launch the following queries on a trunk branch:
> createdb trunk --encoding=unicode
> openerp-server.py -i sale,purchase,mrp,project -d trunk --test-report-directory=/tmp --log-level=test

OpenERP will launch automatically all tests scenari and save the generated reports in the /tmp directory.

We are also working on an improved "bzr stats" to get information ala Google Analytics but for the commits on a bazaar branch. The very first prototype has been released here:
https://code.launchpad.net/~openerp-community/bzr-stats/bzr-stats-analytics

This will allow us to get statistics on contributions and developers, related to the automated tests quality report in order to better do continuous improvement in our development process.

5 comments:

tenax_technologies said...

Java Platform, Enterprise Edition (Java EE) is the industry-standard platform for building enterprise-class applications coded in the Java programming language. Based on the solid foundation of Java Platform, Standard Edition (Java SE), Java EE adds libraries and system services that support the scalability, accessibility, security, integrity, and other requirements of enterprise-class applications. java software company

The OpenERP Developer said...

Here is what I think about it: http://www.openerphell.com/2010/10/fabien-pinckaers-openerp-v6-new-logging.html

Android Game Development said...

Amazing, wonderful blog structure! The length of time have you been running a blog for? You are making running a blog seem simple. The general layout of the website is fantastic, as well as the content!

bad credit repair said...

The new automated test framework for OpenERP is finished in trunk.

Fashion Style said...

I think this is one of the most important information for me. And i am glad reading your article. But want to remark on some general things, The site style is ideal, the articles is really great. Turquoise Color Katy Perry perfume Madonna Truth or Dare Curly Hairstyles Celebrity Boots Justine Bieber Hairstyles Katy Perry Blue Hair Beanie Hats Fishtail Braid Denim Dresses