pytest-html-plus


Namepytest-html-plus JSON
Version 0.3.7 PyPI version JSON
download
home_pageNone
SummaryAuto-generated HTML reports with filters, screenshots, logs, flaky detection & more — all without writing a single line of config.
upload_time2025-07-27 09:27:30
maintainerNone
docs_urlNone
authorEmjey
requires_python<4.0,>=3.9
licenseMIT
keywords pytest html-report pytest-plugin test-report test-results test-summary reporting python-testing automated-testing test-runner report-generator continuous-integration ci-cd pytest-html pytest-report
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ⚠️ Package renamed: This plugin was previously known as pytest-reporter-plus.

> ⚡ **Plug. Play. Quickly debug without delay.**  
> _Just install. No setup. Crystal-clear test reports out of the box._

## 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**, and optionally send reports via email**. Works beautifully with or without `xdist`.

[![Docs](https://img.shields.io/badge/docs-online-blue)](https://pytest-html-plus.readthedocs.io/en/latest/index.html) [![PyPI Downloads](https://static.pepy.tech/badge/pytest-html-plus)](https://pepy.tech/projects/pytest-html-plus) ![PyPI](https://img.shields.io/pypi/v/pytest-html-plus) ![Python Versions](https://img.shields.io/pypi/pyversions/pytest-html-plus)  ![License](https://img.shields.io/pypi/l/pytest-html-plus)  [![Unit Tests](https://github.com/reach2jeyan/pytest-report-plus/actions/workflows/unit-test.yml/badge.svg)](https://github.com/reach2jeyan/pytest-report-plus/actions/workflows/unit-test.yml)

[![Discord](https://img.shields.io/discord/1377581416337903646?labelColor=black&logo=discord&logoColor=c20a71&style=for-the-badge&color=c20a71)](https://discord.gg/Pjy2sCBC) 

## 🚀 Installation

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

# Keep using your regular pytest commands — just plug this in to unlock the below powerful reporting features with zero extra effort.

## ✨ 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](https://github.com/user-attachments/assets/02da5cc9-7ef5-4a3a-a475-88907964a9c6)

#### 🏷️ 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](https://github.com/user-attachments/assets/f000388f-cdbc-418d-829b-a54309b8ffc4)

#### Easily track Untracked test scenarios

![ScreenRecording2025-06-29at1 06 02AM-ezgif com-video-to-gif-converter](https://github.com/user-attachments/assets/af40622f-f548-44a5-982b-344c74a65e13)

#### 🔍 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](https://github.com/user-attachments/assets/f81c9a81-f98d-4151-ad7a-c1184cd199eb)

#### 🔄 Flaky Test Detection: Automatically flags flaky tests so you can spot and fix inconsistent failures quickly.

![ScreenRecording2025-06-21at2 37 31PM-ezgif com-video-to-gif-converter](https://github.com/user-attachments/assets/90f694bf-189c-45e1-8e1d-7acd2a975f91)

#### 📸 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](https://github.com/user-attachments/assets/3f40e206-5dfd-45e9-a511-4dd206cf3318)

#### 🐢 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](https://github.com/user-attachments/assets/b9760927-7c67-4bbf-b03d-e13964c727ee)

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

![ezgif-744a5d34a4c46d](https://github.com/user-attachments/assets/209cd2c0-d33b-48ec-b58b-8c8991ce35be)

### 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](https://pytest-html-plus.readthedocs.io/en/latest/contributing.html) for setup instructions.


## 📜 License

MIT


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "pytest-html-plus",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.9",
    "maintainer_email": null,
    "keywords": "pytest, html-report, pytest-plugin, test-report, test-results, test-summary, reporting, python-testing, automated-testing, test-runner, report-generator, continuous-integration, ci-cd, pytest-html, pytest-report",
    "author": "Emjey",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/18/90/a02f509a4b2e5deb8499313129b6d486cf159c448769687d28f59f1da76b/pytest_html_plus-0.3.7.tar.gz",
    "platform": null,
    "description": "\u26a0\ufe0f Package renamed: This plugin was previously known as pytest-reporter-plus.\n\n> \u26a1 **Plug. Play. Quickly debug without delay.**  \n> _Just install. No setup. Crystal-clear test reports out of the box._\n\n## Get a self-contained, actionable, easy-to-read single page HTML unified reports summarizing all your test results \u2014 no hassle, just clarity. Detect **flaky tests**, and optionally send reports via email**. Works beautifully with or without `xdist`.\n\n[![Docs](https://img.shields.io/badge/docs-online-blue)](https://pytest-html-plus.readthedocs.io/en/latest/index.html) [![PyPI Downloads](https://static.pepy.tech/badge/pytest-html-plus)](https://pepy.tech/projects/pytest-html-plus) ![PyPI](https://img.shields.io/pypi/v/pytest-html-plus) ![Python Versions](https://img.shields.io/pypi/pyversions/pytest-html-plus)  ![License](https://img.shields.io/pypi/l/pytest-html-plus)  [![Unit Tests](https://github.com/reach2jeyan/pytest-report-plus/actions/workflows/unit-test.yml/badge.svg)](https://github.com/reach2jeyan/pytest-report-plus/actions/workflows/unit-test.yml)\n\n[![Discord](https://img.shields.io/discord/1377581416337903646?labelColor=black&logo=discord&logoColor=c20a71&style=for-the-badge&color=c20a71)](https://discord.gg/Pjy2sCBC) \n\n## \ud83d\ude80 Installation\n\n```bash\npip install pytest-html-plus\n# or with Poetry\npoetry add pytest-html-plus\n```\n\n# Keep using your regular pytest commands \u2014 just plug this in to unlock the below powerful reporting features with zero extra effort.\n\n## \u2728 Features\n\n#### \ud83e\udde9 Seamless Combined XML Export to your favourite test management tools \u2014 No Plugins Needed\nExport a fully merged JUnit XML report effortlessly \u2014 no external tools or plugins required. (No More merge html additional plugins or steps in your YAML to feed xml reports)\n\n\u2714 Links, logs, stdout/stderr, and even flaky history \u2014 all included\n\u2714 Works out-of-the-box with your test management tools (like TestRail, XRay, Zephyr)\n\u2714 Just one flag. No extra lines of code. Total traceability.\n\n\n![ScreenRecording2025-07-06at11 38 21PM-ezgif com-video-to-gif-converter](https://github.com/user-attachments/assets/02da5cc9-7ef5-4a3a-a475-88907964a9c6)\n\n#### \ud83c\udff7\ufe0f Tag your tests on the fly!\nWith dynamic markers, you can assign tags like `api`, `critical`, or `slow` \u2014 or any custom label \u2014 at runtime using standard `pytest.mark.*`.\nNo need for custom marker definitions. Perfect for smarter filtering, reporting, and analysis.\n\n![ScreenRecording2025-07-12at10 15 33PM-ezgif com-video-to-gif-converter](https://github.com/user-attachments/assets/f000388f-cdbc-418d-829b-a54309b8ffc4)\n\n#### Easily track Untracked test scenarios\n\n![ScreenRecording2025-06-29at1 06 02AM-ezgif com-video-to-gif-converter](https://github.com/user-attachments/assets/af40622f-f548-44a5-982b-344c74a65e13)\n\n#### \ud83d\udd0d Universal Test Search + Smart Link Navigation\n\nWhether you're trying to trace coverage or track unlinked test cases \u2014 this search has your back!\n\nJust start typing, and the dashboard will instantly filter tests by:\n\n\u2705 Test name\n\n\u2705 Linked issue/documentation IDs (like JIRA, Testmo, Notion, etc.)\n\n\u2705 Custom URLs or keywords present in the links\n\n![ScreenRecording2025-06-21at3 10 06PM-ezgif com-video-to-gif-converter](https://github.com/user-attachments/assets/f81c9a81-f98d-4151-ad7a-c1184cd199eb)\n\n#### \ud83d\udd04 Flaky Test Detection: Automatically flags flaky tests so you can spot and fix inconsistent failures quickly.\n\n![ScreenRecording2025-06-21at2 37 31PM-ezgif com-video-to-gif-converter](https://github.com/user-attachments/assets/90f694bf-189c-45e1-8e1d-7acd2a975f91)\n\n#### \ud83d\udcf8 Screenshot Support: View screenshots directly in the report to understand failures faster.\n\n#### \ud83d\udce7 Email Test Reports: Send your reports via email effortlessly using SendGrid integration.\n\n![Screenshot 2025-05-28 at 4 38 49\u202fPM](https://github.com/user-attachments/assets/3f40e206-5dfd-45e9-a511-4dd206cf3318)\n\n#### \ud83d\udc22 Spot Slow Tests: Highlights the slowest tests so you know where to optimize your suite.\n\n![ScreenRecording2025-06-21at2 52 49PM-ezgif com-video-to-gif-converter](https://github.com/user-attachments/assets/b9760927-7c67-4bbf-b03d-e13964c727ee)\n\n#### \ud83d\udcdd Comprehensive output capture: All your test logs with loggers, print() statements, and screenshots are automatically captured and embedded in the report...\n\n![ezgif-744a5d34a4c46d](https://github.com/user-attachments/assets/209cd2c0-d33b-48ec-b58b-8c8991ce35be)\n\n### AND MANY MANY MORE\n\n## Target Audience\n\nThis plugin is aimed at those who are:\n\n- Tired of writing extra code just to generate reports or capture screenshots\n\n- Manually attaching logs or outputs to test results\n\n- Are frustrated with archiving folders full of assets, CSS, JS, and dashboards just to share test results.\n\n- Don\u2019t want to refactor existing test suites or tag everything with new decorators just to integrate with a reporting tool.\n\n- Prefer simplicity \u2014 a zero-config, zero code, lightweight report that still looks clean, useful, and polished.\n\n- Want \u201cjust enough\u201d \u2014 not bare-bones plain text, not a full dashboard with database setup \u2014 just a portable HTML report that STILL supports features like links, screenshots, and markers.\n\n\n## Comparison with Alternatives\nMost existing pytest reporter tools:\n\nOnly 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.\n\nHeavy duty with bloated charts and other test management features(when they arent your only test management system either) increasing your archive size.\n\nThis plugin aims to fill those gaps by acting as a companion layer on top of the JSON report, focusing on:\n\n\ud83d\udd04 Merge + flakiness intelligence\n\n\ud83d\udd17 Traceability via metadata\n\n\ud83e\uddfc HTML that\u2019s both readable and minimal\n\n\ud83e\uddfc Quickly copy test paths and run in your local\n\n## Contributing\n\nWe welcome pull requests, issues, and feature suggestions from the community.\n\nSee the [contribution guide](https://pytest-html-plus.readthedocs.io/en/latest/contributing.html) for setup instructions.\n\n\n## \ud83d\udcdc License\n\nMIT\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Auto-generated HTML reports with filters, screenshots, logs, flaky detection & more \u2014 all without writing a single line of config.",
    "version": "0.3.7",
    "project_urls": {
        "Homepage": "https://github.com/reporterplus/pytest-html-plus",
        "Source": "https://github.com/reporterplus/pytest-html-plus",
        "Tracker": "https://github.com/reporterplus/pytest-html-plus/issues"
    },
    "split_keywords": [
        "pytest",
        " html-report",
        " pytest-plugin",
        " test-report",
        " test-results",
        " test-summary",
        " reporting",
        " python-testing",
        " automated-testing",
        " test-runner",
        " report-generator",
        " continuous-integration",
        " ci-cd",
        " pytest-html",
        " pytest-report"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "a941ec51213ab27d34756be02ad640fd125b01965a519e82ab501767382fde79",
                "md5": "5c4c3480c9a9b8a763978221edb5b163",
                "sha256": "8bcfd1ff09e16ac6c5c39518c6eae93f8ec80aa038669e4190b1700fe08bd001"
            },
            "downloads": -1,
            "filename": "pytest_html_plus-0.3.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5c4c3480c9a9b8a763978221edb5b163",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.9",
            "size": 21857,
            "upload_time": "2025-07-27T09:27:29",
            "upload_time_iso_8601": "2025-07-27T09:27:29.157294Z",
            "url": "https://files.pythonhosted.org/packages/a9/41/ec51213ab27d34756be02ad640fd125b01965a519e82ab501767382fde79/pytest_html_plus-0.3.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "1890a02f509a4b2e5deb8499313129b6d486cf159c448769687d28f59f1da76b",
                "md5": "02983a1fdd6922bc458db752b163dde8",
                "sha256": "b79e9b019a6e923162c6aae4ab1b4db019edf5bd97128474c68974175f15dbb6"
            },
            "downloads": -1,
            "filename": "pytest_html_plus-0.3.7.tar.gz",
            "has_sig": false,
            "md5_digest": "02983a1fdd6922bc458db752b163dde8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.9",
            "size": 20988,
            "upload_time": "2025-07-27T09:27:30",
            "upload_time_iso_8601": "2025-07-27T09:27:30.717260Z",
            "url": "https://files.pythonhosted.org/packages/18/90/a02f509a4b2e5deb8499313129b6d486cf159c448769687d28f59f1da76b/pytest_html_plus-0.3.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-27 09:27:30",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "reporterplus",
    "github_project": "pytest-html-plus",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "pytest-html-plus"
}
        
Elapsed time: 1.22975s