Skip to main content

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.

Source Distribution

nose-summary-report-1.0.3.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file nose-summary-report-1.0.3.tar.gz.

File metadata

  • Download URL: nose-summary-report-1.0.3.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for nose-summary-report-1.0.3.tar.gz
Algorithm Hash digest
SHA256 a227e0c2d72bb229c50eb960b56e9683955a71ee86a5cf81dad19c0258c739e2
MD5 7fd2b47af641dc2e01556fa5cd277cf4
BLAKE2b-256 66d10f8cf28e8d52b1b7428e8a58154e15d607b4af6697ff793f9e3812eb1616

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page