NoseDBResult iconNoseDBResult 0.1

Nose plugin for recording test results to a database
NoseDBResult is a nose plugin that exposes a single plugin that can front various backend databases to store the result of a nose test execution. Having the results of your tests, whether they are part of a continuous integration system or not, allows you to ask interesting questions about your project such as

- What were the test suites that ran in the last five minutes
- What is the average time to run test case 'x'
- What is the standard time to failure for test suite 'y'
- and so on...

These questions also allow you to build reporting, and monitoring tools based on automated functional tests that you may be running against your development, staging or production systems, such as heartbeat or availability pages.

Installation

 with easy_install

 sudo easy_install nosedbreport

 with pip

 sudo pip install nosedbreport

 from source (bitbucket repository):

 hg clone http://hg.indydevs.org/nosedbreport
 cd nosedbreport
 python setup.py build
 sudo python setup.py install


Usage

 The most basic use case is to report the results of a test run into a mysql database, which can be achieved by adding the following options to your nose execution:

 nosetests --dbreport_dbtype=mysql --dbreport_host=your.mysql.com\
 --dbreport_user=ali --dbreport_password=some-pass --dbreport_db=nosereport

 To create the appropriate schema in your mysql database:

 nosetests --dbreport_dbtype=mysql --dbreport_host=your.mysql.com\
 --dbreport_user=root --dbreport_password=your-root-pass\
 --dbreport_db=nosereport --dbreport_create_schema

last updated on:
October 3rd, 2011, 11:06 GMT
price:
FREE!
developed by:
Ali-Akber Saifee
license type:
MIT/X Consortium License 
category:
ROOT \ Programming \ Quality Assurance and Testing

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT