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.4.1.tar.gz
(4.2 kB
view details)
File details
Details for the file pytest-excel-1.4.1.tar.gz
.
File metadata
- Download URL: pytest-excel-1.4.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/2.7.15+
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9181cc0b755036812558b6b78ab87569a344a7f426f9a66c38518eaf6872c7c |
|
MD5 | 8eee254d58349e3b25882ece5c880f69 |
|
BLAKE2b-256 | 8cd8930b874c05a3d121b0b7ccb1be0cfb94cedcea732f96f43470106045ebd0 |