test-reporting 3.2.1__tar.gz → 3.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {test_reporting-3.2.1/test_reporting.egg-info → test_reporting-3.2.3}/PKG-INFO +1 -1
- {test_reporting-3.2.1 → test_reporting-3.2.3}/reporting/templates/project.html +45 -4
- {test_reporting-3.2.1 → test_reporting-3.2.3}/setup.py +1 -1
- {test_reporting-3.2.1 → test_reporting-3.2.3/test_reporting.egg-info}/PKG-INFO +1 -1
- {test_reporting-3.2.1 → test_reporting-3.2.3}/LICENSE +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/README.md +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/reporting/__init__.py +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/reporting/classifier.py +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/reporting/cli.py +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/reporting/config.py +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/reporting/plugin.py +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/reporting/publisher.py +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/reporting/storage.py +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/reporting/templates/index.html +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/reporting/templates/run.html +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/setup.cfg +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/test_reporting.egg-info/SOURCES.txt +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/test_reporting.egg-info/dependency_links.txt +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/test_reporting.egg-info/entry_points.txt +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/test_reporting.egg-info/requires.txt +0 -0
- {test_reporting-3.2.1 → test_reporting-3.2.3}/test_reporting.egg-info/top_level.txt +0 -0
|
@@ -139,6 +139,37 @@
|
|
|
139
139
|
.section-explain { font-size: 13px; color: var(--muted); line-height: 1.5; }
|
|
140
140
|
.section-body { padding: 20px 24px; }
|
|
141
141
|
.section-body-flush { }
|
|
142
|
+
|
|
143
|
+
/* Collapsible sections with preview */
|
|
144
|
+
.section-head.collapsible { cursor: pointer; user-select: none; display: flex;
|
|
145
|
+
justify-content: space-between; align-items: flex-start; }
|
|
146
|
+
.section-head.collapsible:hover { background: var(--bg); }
|
|
147
|
+
.section-head-content { flex: 1; }
|
|
148
|
+
.section-toggle { color: var(--muted); font-size: 14px; transition: transform .2s;
|
|
149
|
+
flex-shrink: 0; margin-left: 12px; margin-top: 2px; }
|
|
150
|
+
.section-toggle.collapsed { transform: rotate(-90deg); }
|
|
151
|
+
|
|
152
|
+
/* Preview mode - show partial content */
|
|
153
|
+
.section-body-flush.preview { max-height: 200px; overflow: hidden; position: relative;
|
|
154
|
+
cursor: pointer; transition: max-height .3s ease; }
|
|
155
|
+
.section-body-flush.preview:hover { background: var(--blue-bg); }
|
|
156
|
+
.section-body-flush.preview::after {
|
|
157
|
+
content: 'Click to expand ▼'; position: absolute; bottom: 0; left: 0; right: 0;
|
|
158
|
+
height: 60px; display: flex; align-items: flex-end; justify-content: center;
|
|
159
|
+
padding-bottom: 12px; font-size: 13px; font-weight: 600; color: var(--blue);
|
|
160
|
+
background: linear-gradient(to bottom, transparent, var(--surface) 50%);
|
|
161
|
+
pointer-events: none; transition: opacity .2s;
|
|
162
|
+
}
|
|
163
|
+
.section-body-flush.preview:hover::after { opacity: 0.8; }
|
|
164
|
+
.section-body-flush.expanded { max-height: none; cursor: pointer; }
|
|
165
|
+
.section-body-flush.expanded:hover { background: var(--blue-bg); }
|
|
166
|
+
.section-body-flush.expanded::after {
|
|
167
|
+
content: 'Click to collapse ▲'; position: relative; display: block;
|
|
168
|
+
text-align: center; padding: 16px; font-size: 13px; font-weight: 600;
|
|
169
|
+
color: var(--blue); background: var(--bg); border-top: 1px solid var(--border);
|
|
170
|
+
transition: background .1s;
|
|
171
|
+
}
|
|
172
|
+
.section-body-flush.expanded:hover::after { background: var(--border); }
|
|
142
173
|
|
|
143
174
|
/* ── Two-column grid ── */
|
|
144
175
|
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
|
|
@@ -557,6 +588,16 @@
|
|
|
557
588
|
: 'Show less ▲';
|
|
558
589
|
}
|
|
559
590
|
|
|
591
|
+
function toggleSectionExpand(body) {
|
|
592
|
+
if (body.classList.contains('preview')) {
|
|
593
|
+
body.classList.remove('preview');
|
|
594
|
+
body.classList.add('expanded');
|
|
595
|
+
} else if (body.classList.contains('expanded')) {
|
|
596
|
+
body.classList.remove('expanded');
|
|
597
|
+
body.classList.add('preview');
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
560
601
|
function goToRun(runId) {
|
|
561
602
|
if (runId) location.href = 'run.html?r=' + encodeURIComponent(runId) + '&p=' + encodeURIComponent(projectName);
|
|
562
603
|
}
|
|
@@ -632,7 +673,7 @@
|
|
|
632
673
|
'<h3>Unreliable Tests - Flaky</h3>' +
|
|
633
674
|
'<p class="section-explain">Tests that pass sometimes and fail other times without code changes. Flaky tests erode trust in your test suite.</p>' +
|
|
634
675
|
'</div>' +
|
|
635
|
-
'<div class="section-body-flush">' +
|
|
676
|
+
'<div class="section-body-flush preview" onclick="toggleSectionExpand(this)">' +
|
|
636
677
|
renderFlakyTable(a.flaky_tests || []) +
|
|
637
678
|
'</div>' +
|
|
638
679
|
'</div>' +
|
|
@@ -642,7 +683,7 @@
|
|
|
642
683
|
'<h3>Tests That Break the Most</h3>' +
|
|
643
684
|
'<p class="section-explain">Highest-priority fixes - resolving these has the biggest positive impact on your overall pass rate.</p>' +
|
|
644
685
|
'</div>' +
|
|
645
|
-
'<div class="section-body-flush">' +
|
|
686
|
+
'<div class="section-body-flush preview" onclick="toggleSectionExpand(this)">' +
|
|
646
687
|
renderHotspotsTable(a.failure_hotspots || []) +
|
|
647
688
|
'</div>' +
|
|
648
689
|
'</div>' +
|
|
@@ -652,7 +693,7 @@
|
|
|
652
693
|
'<h3>Slowest Tests</h3>' +
|
|
653
694
|
'<p class="section-explain">Tests taking the longest to run. Good candidates for optimization.</p>' +
|
|
654
695
|
'</div>' +
|
|
655
|
-
'<div class="section-body-flush">' +
|
|
696
|
+
'<div class="section-body-flush preview" onclick="toggleSectionExpand(this)">' +
|
|
656
697
|
renderSlowTable(a.slowest_tests || []) +
|
|
657
698
|
'</div>' +
|
|
658
699
|
'</div>' +
|
|
@@ -662,7 +703,7 @@
|
|
|
662
703
|
'<h3>Tests Getting Slower</h3>' +
|
|
663
704
|
'<p class="section-explain">Tests that have become significantly slower over the last 7 days. A slowing test can signal feature degradation.</p>' +
|
|
664
705
|
'</div>' +
|
|
665
|
-
'<div class="section-body-flush">' +
|
|
706
|
+
'<div class="section-body-flush preview" onclick="toggleSectionExpand(this)">' +
|
|
666
707
|
renderRegressionTable(a.performance_regressions || []) +
|
|
667
708
|
'</div>' +
|
|
668
709
|
'</div>';
|
|
@@ -9,7 +9,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
|
|
|
9
9
|
|
|
10
10
|
setup(
|
|
11
11
|
name='test-reporting',
|
|
12
|
-
version='3.2.
|
|
12
|
+
version='3.2.3',
|
|
13
13
|
description='Multi-project test reporting dashboard — collect results locally or push to S3',
|
|
14
14
|
long_description=long_description,
|
|
15
15
|
long_description_content_type="text/markdown",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|