Skip to main content

Generate Actionable, automatic screenshots, unified Mobile friendly Pytest HTML report in less than 3 seconds — no hooks, merge plugins, no config, xdist-ready.

Project description

Test your code, not your reporting setup.

Get started with rich pytest reports in under 3 seconds. Just install — no setup required. The simplest, fastest reporter for pytest.

Get a self-contained, actionable, easy-to-read single page HTML unified reports summarizing all your test results — no hassle, just clarity. Detect flaky tests, attach screenshots automatically without hooks and optionally send reports via email**. Works beautifully with or without xdist.

➡️ View Demo Report

Docs PyPI Downloads PyPI Python Versions License Unit Tests

Discord

🚀 Installation

pip install pytest-html-plus
# or with Poetry
poetry add pytest-html-plus

Pytest HTML Plus Action

If you don’t want the burden of installing pytest-html-plus manually and your project already manages dependencies with requirements.txt or Poetry, use this GitHub Action to generate rich pytest reports automatically.

🚀 Checkout on GitHub Marketplace Documentation

Pytest HTML Plus VSCode

VS Code Marketplace [Installs] Docs

✨ Features

🧩 Seamless Combined XML Export to your favourite test management tools — No Plugins Needed

Export a fully merged JUnit XML report effortlessly — no external tools or plugins required. (No More merge html additional plugins or steps in your YAML to feed xml reports)

✔ Links, logs, stdout/stderr, and even flaky history — all included ✔ Works out-of-the-box with your test management tools (like TestRail, XRay, Zephyr) ✔ Just one flag. No extra lines of code. Total traceability.

ScreenRecording2025-07-06at11 38 21PM-ezgif com-video-to-gif-converter

🔄 Stop Guessing — See What’s Breaking Your Flaky Tests

Instantly see how your tests behave across retries — from failure to recovery. Spot patterns like cache issues, race conditions, and random crashes without the guesswork.

ezgif com-video-to-gif-converter

🏷️ Tag your tests on the fly!

With dynamic markers, you can assign tags like api, critical, or slow — or any custom label — at runtime using standard pytest.mark.*. No need for custom marker definitions. Perfect for smarter filtering, reporting, and analysis.

ScreenRecording2025-07-12at10 15 33PM-ezgif com-video-to-gif-converter

📦 Ship reports with provenance 📜 — full run metadata included 📋 and copy-ready.

ezgif com-video-to-gif-converter

📋⚡ Turn failure context into a single click — copy logs, traces, and errors instantly for your team.

ezgif com-video-to-gif-converter (1)

Easily track Untracked test scenarios

ScreenRecording2025-06-29at1 06 02AM-ezgif com-video-to-gif-converter

🔍 Universal Test Search + Smart Link Navigation

Whether you're trying to trace coverage or track unlinked test cases — this search has your back!

Just start typing, and the dashboard will instantly filter tests by:

✅ Test name

✅ Linked issue/documentation IDs (like JIRA, Testmo, Notion, etc.)

✅ Custom URLs or keywords present in the links

ScreenRecording2025-06-21at3 10 06PM-ezgif com-video-to-gif-converter

📸 Screenshot Support: View screenshots directly in the report to understand failures faster.

📧 Email Test Reports: Send your reports via email effortlessly using SendGrid integration.

Screenshot 2025-05-28 at 4 38 49 PM

🐢 Spot Slow Tests: Highlights the slowest tests so you know where to optimize your suite.

ScreenRecording2025-06-21at2 52 49PM-ezgif com-video-to-gif-converter

📝 Comprehensive output capture: All your test logs with loggers, print() statements, and screenshots are automatically captured and embedded in the report...

ezgif-744a5d34a4c46d

AND MANY MANY MORE

Target Audience

This plugin is aimed at those who are:

  • Tired of writing extra code just to generate reports or capture screenshots

  • Manually attaching logs or outputs to test results

  • Are frustrated with archiving folders full of assets, CSS, JS, and dashboards just to share test results.

  • Don’t want to refactor existing test suites or tag everything with new decorators just to integrate with a reporting tool.

  • Prefer simplicity — a zero-config, zero code, lightweight report that still looks clean, useful, and polished.

  • Want “just enough” — not bare-bones plain text, not a full dashboard with database setup — just a portable HTML report that STILL supports features like links, screenshots, and markers.

Comparison with Alternatives

Most existing pytest reporter tools:

Only generate HTML reports from a single run (by making you write code for creating xmls like pytest-html) OR they generate all the JS and png files that are not the scope of test results and force you to archive it.

Heavy duty with bloated charts and other test management features(when they arent your only test management system either) increasing your archive size.

This plugin aims to fill those gaps by acting as a companion layer on top of the JSON report, focusing on:

🔄 Merge + flakiness intelligence

🔗 Traceability via metadata

🧼 HTML that’s both readable and minimal

🧼 Quickly copy test paths and run in your local

Contributing

We welcome pull requests, issues, and feature suggestions from the community.

See the contribution guide for setup instructions.

📜 License

MIT

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_html_plus-0.5.2.tar.gz (26.0 kB view details)

Uploaded Source

Built Distribution

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

pytest_html_plus-0.5.2-py3-none-any.whl (26.5 kB view details)

Uploaded Python 3

File details

Details for the file pytest_html_plus-0.5.2.tar.gz.

File metadata

  • Download URL: pytest_html_plus-0.5.2.tar.gz
  • Upload date:
  • Size: 26.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pytest_html_plus-0.5.2.tar.gz
Algorithm Hash digest
SHA256 09d7dbd0c4785ead8a1bbfbad501eaa2eb1115b3029e6b8ce035e54cc6da4fe6
MD5 86df1d531d4f46dcf5da8378da3c43fa
BLAKE2b-256 dcce7c4f7680e9711fe4ee0d142a32c47eb6f99cb05a688041a8fab857c12e58

See more details on using hashes here.

File details

Details for the file pytest_html_plus-0.5.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pytest_html_plus-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3a7ea13d46838240c0eea0c4ed0db6ce6725b3430e3705b7cd8275ea68d0a08e
MD5 85cde6ce7dd7c5c0f092924b802af723
BLAKE2b-256 94ee1fcfa29b1141ee8399339c4e82040dd25b3b2ede3e0c12637d242fb5c34d

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