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.3.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

pytest_excel-1.2.3-py2.py3-none-any.whl (4.0 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file pytest-excel-1.2.3.tar.gz.

File metadata

  • Download URL: pytest-excel-1.2.3.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for pytest-excel-1.2.3.tar.gz
Algorithm Hash digest
SHA256 ab15aeff933efc906d2f1a1e0d940eee0e158ce04eadf43a30b2d6b483580f25
MD5 11036f8eb2d6c4dbb24ef7666a259bc2
BLAKE2b-256 10c38d6ae774921166d54445b5eb5288cde327fd2ca491aadebc42b04bee2ddd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pytest_excel-1.2.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.2

File hashes

Hashes for pytest_excel-1.2.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a9be758c9735df8ba9be415c08ee41cee728718067cfbc7bd5a62f589b96a4d2
MD5 3adf8c58d985e87a754c06bcd3a4df7d
BLAKE2b-256 b039ecbb7dc32690d7eccbcffe44c2eae901bcdfb2bfbed7ee3a2941c53ada9c

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