You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No uninstall needed — `pytest-html-plus` works alongside it. Install it, run your suite, and see what you've been missing. Most teams uninstall `pytest-html` within the same day.
17
+
18
+
```bash
19
+
pip install pytest-html-plus
20
+
```
21
+
22
+
Your existing `pytest --html=report.html` commands keep working unchanged.
23
+
24
+
| Feature | pytest-html | pytest-html-plus |
25
+
|---|:---:|:---:|
26
+
| Single-file self-contained HTML report | ✅ | ✅ |
27
+
| Zero config — works out of the box | ✅ | ✅ |
28
+
| xdist parallel run support | ⚠️ requires extra plugin | ✅ built-in |
| JUnit XML export (merged, one flag) | ❌ requires extra steps | ✅ |
39
+
| Run metadata (branch, commit, env) | ❌ | ✅ |
40
+
| Reusable config profiles | ❌ | ✅ |
41
+
| Email reports | ❌ | ✅ |
42
+
| Mobile-friendly layout | ❌ | ✅ |
43
+
| GitHub Actions marketplace action | ❌ | ✅ |
44
+
| VSCode extension | ❌ | ✅ |
45
+
46
+
---
47
+
12
48
## 🚀 Installation
13
49
14
50
```bash
@@ -19,7 +55,7 @@ poetry add pytest-html-plus
19
55
20
56
## Pytest HTML Plus Action
21
57
22
-
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.
58
+
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.
23
59
24
60
[](https://github.com/marketplace/actions/pytest-html-plus-action)
#### 🔄 Stop Guessing — See What’s Breaking Your Flaky Tests
80
+
#### 🔄 Stop Guessing — See What's Breaking Your Flaky Tests
45
81
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.
@@ -82,7 +118,7 @@ Just start typing, and the dashboard will instantly filter tests by:
82
118
83
119
#### 📧 Email Test Reports: Send your reports via email effortlessly using SendGrid integration.
84
120
85
-

121
+

86
122
87
123
#### 🐢 Spot Slow Tests: Highlights the slowest tests so you know where to optimize your suite.
88
124
@@ -125,36 +161,32 @@ This plugin is aimed at those who are:
125
161
126
162
- Are frustrated with archiving folders full of assets, CSS, JS, and dashboards just to share test results.
127
163
128
-
- Don’t want to refactor existing test suites or tag everything with new decorators just to integrate with a reporting tool.
164
+
- Don't want to refactor existing test suites or tag everything with new decorators just to integrate with a reporting tool.
129
165
130
166
- Prefer simplicity — a zero-config, zero code, lightweight report that still looks clean, useful, and polished.
131
167
132
-
- 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.
168
+
- 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.
133
169
170
+
## vs Allure
134
171
135
-
## Comparison with Alternatives
136
-
Most existing pytest reporter tools:
172
+
Allure is powerful but comes with significant overhead — a separate report server, external assets, and a complex setup. `pytest-html-plus` is for teams that want rich reporting without the infrastructure cost.
137
173
138
-
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.
139
-
140
-
Heavy duty with bloated charts and other test management features(when they arent your only test management system either) increasing your archive size.
141
-
142
-
This plugin aims to fill those gaps by acting as a companion layer on top of the JSON report, focusing on:
0 commit comments