pytest plugin for generating excel reports
pytest-excel is a plugin for py.test that allows to to create excel report for test results.
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
To install pytest-excel:
$pip install pytest-excel
Then run your tests with:
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
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
pytest-excel-1.5.0.tar.gz (5.2 kB view hashes)