Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Nose plugin that generates a final summary of tests status as a table

Project description

pypi_version_img Supported Python versions pypi_license_img travis_build_status

summary-report

A very basic nose plugin providing a per-module tests status final report.

Example output for pelican-plugins tests:

----------------------------------------------------------------------
Summary:
         top-module | success | error   | failure
   -------------------------------------------------
    collate_content |       8 |       0 |       0
      disqus_static |       0 |       1 |       0
   filetime_from_hg |       0 |       1 |       0
         gzip_cache |       3 |       1 |       1
      i18n_subsites |       8 |       0 |       1
      image_process |       1 |       4 |       1
        jpeg_reader |       0 |       2 |       0
         libravatar |       0 |       1 |       0
        liquid_tags |       0 |       7 |       0
    more_categories |       3 |       0 |       0
    multi_neighbors |       0 |       1 |       0
  org_python_reader |       0 |       1 |       0
                pdf |       0 |       1 |       0
pelican_unity_webgl |       0 |       1 |       0
               nose |       0 |       4 |       0
         post_stats |       0 |       2 |       0
      reddit_poster |       0 |       1 |       0
      similar_posts |       0 |       1 |       0
   simple_footnotes |       1 |       0 |       1
            summary |       4 |       0 |       0
        thumbnailer |       0 |       1 |       0
----------------------------------------------------------------------
Ran 66 tests in 10.188s

FAILED (SKIP=9, errors=29, failures=4)

Usage

pip install nose-summary-report
nosetests --with-summary-report

You can choose other ways to aggregate the tests status:

nosetests --with-summary-report --summary-report-on class
nosetests --with-summary-report --summary-report-on module-path

Development

Releasing a new version

With a valid ~/.pypirc:

  1. edit version in setup.py
  2. python setup.py sdist
  3. twine upload dist/*
  4. git tag $version && git push && git push --tags

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for nose-summary-report, version 1.0.3
Filename, size File type Python version Upload date Hashes
Filename, size nose-summary-report-1.0.3.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page