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.1.zip
(7.3 kB
view details)
Built Distribution
File details
Details for the file pytest-excel-1.2.1.zip
.
File metadata
- Download URL: pytest-excel-1.2.1.zip
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 064b63d29814f573cf622ebe947c3e1c95ab637552439c6c7e53a103a498d4eb |
|
MD5 | 27c40ca6b4079037a0ac784fb1c58f13 |
|
BLAKE2b-256 | 6c6c0621a3d9fa00146010865532984746112653420286dff03eed205d669c74 |
File details
Details for the file pytest_excel-1.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: pytest_excel-1.2.1-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 | 076c4917ab31146c87b760e28087b7c62876b03c79e240599a38e307ad3f330f |
|
MD5 | 9e8ff7b519d5f71351ef8f555e0d95df |
|
BLAKE2b-256 | 21c05fe2026b548730bbd87518cf2c48f15ea09e5e4bdcae202418d6002236f0 |