Skip to main content

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


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.0.zip (7.3 kB view details)

Uploaded Source

Built Distribution

pytest_excel-1.2.0-py2.py3-none-any.whl (5.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytest-excel-1.2.0.zip.

File metadata

  • Download URL: pytest-excel-1.2.0.zip
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytest-excel-1.2.0.zip
Algorithm Hash digest
SHA256 0ee1bc377bc658c91cd6a714b822287339b7eacdc5988b39f528743badee9c11
MD5 edd7339ea3ce59029b961cdb8bf54c39
BLAKE2b-256 4ba5f80a2a50b4c928b4646ce01130302fc37dcbe744c9626575de78aeca1733

See more details on using hashes here.

File details

Details for the file pytest_excel-1.2.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_excel-1.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b5f8b8f3e2ee141127faa1976aca5f6b2633d806ece45fdcc8632514faae0c13
MD5 fbb93225bae04ca2aa4eab74a1981790
BLAKE2b-256 e6014e09f412e2c1b404ce568f5a097a86351b0e8b443141af2988e7e50dbd78

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page