Skip to main content

Generate Pytest reports with templates

Project description

PyPI version

Generate Pytest reports from templates. You may use one of the available templates on PyPI (like the reference template html1), inherit them in your own template to tweak their content and appearence or make your own from scratch.

Anything text based can be generated like HTML, LaTeX, CSV et.c. The default engine is Jinja2 but should be flexible enough to support many other engines.

Installation

You can install “pytest-reporter” via pip from PyPI:

$ pip install pytest-reporter

Usage

Specify the template you want to use and the output path of the report:

$ pytest --template=template/report.html --report=report.html

Writing templates

TODO

See html1 for a reference implementation.

Hooks

TODO

License

Distributed under the terms of the MIT license, “pytest-reporter” is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

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

pytest-reporter-0.1.0.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

pytest_reporter-0.1.0-py3-none-any.whl (5.3 kB view hashes)

Uploaded Python 3

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