Generate Pytest reports with templates
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pytest_reporter-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8fb0debcce189f148edb4e2cf949661376054332de81396fb15a0424f6ade4e |
|
MD5 | 2b322e62cb20a3866de0cfc2fd7da017 |
|
BLAKE2b-256 | 404a103d8ed0eeb59f025be12fcd7222b9b62a23f4d9275cd2b91edf38b6e6bb |