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 3.6, 3.7 and above
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
If you would like to get timestamp in the as filename:
$ py.test --excelreport=report%Y-%M-dT%H%.xls
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.5.2.tar.gz
(5.2 kB
view details)
File details
Details for the file pytest-excel-1.5.2.tar.gz
.
File metadata
- Download URL: pytest-excel-1.5.2.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b93d9405d8d59e5471fa079d64f62f1c7ff268d4c970bbe59f77321782423f |
|
MD5 | c75f1167d91af1007c304bc70f43da0e |
|
BLAKE2b-256 | d7f9e06e30d460ad1e97753ff7d8d12f75a5a9c8a338a8d767afa1b0b05963ef |