Skip to main content

Auto-open HTML reports after pytest runs

Project description

pytest-open-html

A pytest plugin to automatically open the HTML report in your browser after tests finish.

Installation

pip install pytest-open-html



# 运行测试
pytest --html=report.html  # 应自动打开浏览器
pytest --html=report.html --no-open-html  # 应不打开

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_open_html-0.1.0.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytest_open_html-0.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file pytest_open_html-0.1.0.tar.gz.

File metadata

  • Download URL: pytest_open_html-0.1.0.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.7

File hashes

Hashes for pytest_open_html-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4cc98722189d625efd212d871317f69c9ef84e78dd880c440152d12ea97a8759
MD5 ee188d8a8371a4d0647ef6cc36be7b28
BLAKE2b-256 87fea020941871cf69d36342c0dd2375d2c33cdb0dcf3e4bfe4837720de0c72a

See more details on using hashes here.

File details

Details for the file pytest_open_html-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_open_html-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d244aa64ca7c24a608a1eabf412a7e21a51a2bf74dbe8cf94eda13e028bef4d
MD5 c8533fc2dd30837539d212cbe23ff44d
BLAKE2b-256 b68cb792ee7c56548732f81f2b7ccbf56042d7f1ec495798aa413b8dba49e8a0

See more details on using hashes here.

Supported by

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