pytest plugin for generating excel reports
Project description
pytest-excel is a plugin for py.test that allows to to create excel report for test results.
Requirements
You will need the following prerequisites in order to use pytest-excel:
Python 2.7, 3.4 or 3.5
pytest 2.9.0 or newer
opepyxl
Installation
To install pytest-excel:
$pip install pytest-excel
Then run your tests with:
$py.test --excelreport=report.xls
If you would like more detailed output (one test per line), then you may use the verbose option:
$ py.test --verbose
If you would like to run tests without execution to collect test doc string:
$ py.test --excelreport=report.xls --collect-only
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
pytest-excel-1.2.2.zip
(7.3 kB
view details)
Built Distribution
File details
Details for the file pytest-excel-1.2.2.zip
.
File metadata
- Download URL: pytest-excel-1.2.2.zip
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa7c6faeadb93dae6bf07f0ec5e3c700ea8d1f767b665b3212e001ab8bda579a |
|
MD5 | b872a4fd4a59a6e058de17f82bea043e |
|
BLAKE2b-256 | 35213999ce9b159773da07179d4997b7fb321f56c3ea2142bec911d42b3012dc |
File details
Details for the file pytest_excel-1.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_excel-1.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d976821bef387867d41242a2d635fa9275b82969d347452ec59d20c329c6e0e5 |
|
MD5 | 2a6f3507c0110061aebb8b48c49f8fa1 |
|
BLAKE2b-256 | e0612fd4d02026f749de1a7500d1df4add3503b7f0a0a0ea2e6d4aa610737d78 |