Socket
Socket
Sign inDemoInstall

nose-html-reporting

Package Overview
Dependencies
0
Maintainers
1
Alerts
File Explorer

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nose-html-reporting

Nose plugin that generates a nice html test report with ability of using template based on jinja2 templates from any folder.


Maintainers
1

Readme

=============================== nose-html-reporting

Nose plugin that generates a nice html test report with ability of using template based on jinja2 templates from any folder.

  • Free software: BSD license

Installation

::

pip install nose-html-reporting

Usage

--with-html Enable plugin HtmlOutput: Output test results as pretty html. [NOSE_WITH_HTML] --html-file=FILE Path to html file to store the report in. Default is nosetests.html in the working directory --html-report-template=FILE Path to jinja2 file to get the report template from. Default is templates/report.html from the package working directory

Development

To run the all tests run::

tox

Example

To execute tests::

nosetests tests/test_sample.py --with-html --html-report=nose_report2_test.html --html-report-template=src/nose_htmlreport/templates/report2.jinja2

.. image:: https://raw.githubusercontent.com/lysenkoivan/nose-html-reporting/master/docs/sample.png

Changelog

0.1.0 (2015-01-11)

  • First release on PyPI.

0.2.1 (2015-03-23)

  • Now plugin catches not only test logging messages, but messages called before test run. Store to separate variable
  • New report template is default one
  • Added test run time to context of the report

0.2.3 (2015-08-03)

  • Added formatting with decoding for test traceback

Keywords

FAQs


Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc