Nose plugin for recording test results to a database
nosedbreport 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
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.
sudo easy_install nosedbreport
sudo pip install nosedbreport
from source (git repository):
hg clone http://github.com/alisaifee/nosedbreport cd nosedbreport python setup.py build sudo python setup.py install
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-username=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-username=root --dbreport-password=your-root-pass\ --dbreport-db=nosereport --dbreport-create-schema
For detailed usage refer to read the docs
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|nosedbreport-0.3.0-py2.7.egg (20.7 kB) Copy SHA256 Checksum SHA256||2.7||Egg||Feb 27, 2014|
|nosedbreport-0.3.0.tar.gz (6.8 kB) Copy SHA256 Checksum SHA256||–||Source||Feb 27, 2014|