Skip to main content

pytest-excel

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.11 and above

  • pytest

  • pandas

  • openpyxl

Installation

To install pytest-excel and required dependencies:

$ pip install pytest-excel openpyxl

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

Metadata

Release files for pytest-excel 1.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pytest-excel 1.8.1
File Size Uploaded Provenance Actions
pytest_excel-1.8.1.tar.gz 13.2 kB Without provenance Details for pytest_excel-1.8.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pytest-excel 1.8.1
File Interpreter ABI Platform Actions
pytest_excel-1.8.1-py3-none-any.whl Python 3 none any Details for pytest_excel-1.8.1-py3-none-any.whl

Total release size: 17.8 kB

Release files / pytest_excel-1.8.1.tar.gz

Download URL pytest_excel-1.8.1.tar.gz
Size 13.2 kB
Tags Source
SHA-256 checksum
How to use checksums
39bc29161b1e49e64d9ad3f35ca74aac641c7afcd5d4a79cd264cbbb8b3d2bea
BLAKE2b-256 checksum
How to use checksums
3430345d2f7547e9ab8063d7f19011f6efacc892474070f5e9e4f3ef9439ed6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Release files / pytest_excel-1.8.1-py3-none-any.whl

Download URL pytest_excel-1.8.1-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0904e8ffaf83d4c4746ee97f16a3d2a4752be03359c2040009752a45650deeeb
BLAKE2b-256 checksum
How to use checksums
5c3f88454059e19416d2bf10ed4ccb8c44f562c651c47363e76e7005ac238244
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.9

Security for pytest-excel 1.8.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page