Skip to main content

Introduction

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

  • 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 travis-ci

  • with easy_install

    sudo easy_install nosedbreport
  • with pip

    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

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-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

Metadata

Release files for nosedbreport 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nosedbreport 0.3.0
File Size Uploaded
nosedbreport-0.3.0.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nosedbreport 0.3.0
File Interpreter ABI Platform
nosedbreport-0.3.0-py2.7.egg Legacy Egg format - - Details

Total release size: 27.5 kB

Release files / nosedbreport-0.3.0.tar.gz

Download URL nosedbreport-0.3.0.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7e0c57b00b791e7ac38dc24ff5c7a80482e58a0699b33bea78cb6643342cbf0d
BLAKE2b-256 checksum
How to use checksums
a001da61eb497ff1e5747a3978b228956f1fea62f40a1838cdc89b24a6a5a63f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / nosedbreport-0.3.0-py2.7.egg

Download URL nosedbreport-0.3.0-py2.7.egg
Size 20.7 kB
Tags Egg
SHA-256 checksum
How to use checksums
e8c2d2ccd32be0ad863f3e98e595029eefae9060d599ff50903bf96c91aa8245
BLAKE2b-256 checksum
How to use checksums
5ad37f6f4ec16ad7e2d1c6abb6b1162d84eb631be7365b6b1f81de05ac2a0834
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.9

2 release files

0.2.8

1 release file

0.2.7

1 release file

0.2.6

1 release file

0.2.5

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page