Skip to content

Filter code coverage by test size#1153

Draft
sebastianbergmann wants to merge 3 commits intomainfrom
feature/filter-by-test-size
Draft

Filter code coverage by test size#1153
sebastianbergmann wants to merge 3 commits intomainfrom
feature/filter-by-test-size

Conversation

@sebastianbergmann
Copy link
Copy Markdown
Owner

No description provided.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

❌ 1 Tests Failed:

Tests completed Failed Passed Skipped
425 1 424 12
View the top 1 failed test(s) by shortest run time
SebastianBergmann.CodeCoverage.Report.Html.EndToEndTest::testPathCoverageForSourceWithoutNamespace
Stack Traces | 0.0743s run time
SebastianBergmann\CodeCoverage\Report\Html\EndToEndTest::testPathCoverageForSourceWithoutNamespace
source_without_namespace.php_branch.html not match
Failed asserting that string matches format description.
--- Expected
+++ Actual
@@ @@
 
 </tbody>
 </table>
-<h5 class="structure-heading"><a name="{closure:%s/source_without_namespace.php:14-14}">{closure:%s/source_without_namespace.php:14-14}</a></h5>
+<h5 class="structure-heading"><a name="{closure:D:\a\php-code-coverage\php-code-coverage\tests\_files\source_without_namespace.php:14-14}">{closure:D:\a\php-code-coverage\php-code-coverage\tests\_files\source_without_namespace.php:14-14}</a></h5>
 <table id="code" class="table table-borderless table-condensed">
 <tbody>
     <tr class="danger d-flex"><td  class="col-1 text-end"><a id="14" href="#14">14</a></td><td class="col-11 codeLine"><span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span class="default">$baz</span><span class="default">&nbsp;</span><span class="keyword">=</span><span class="default">&nbsp;</span><span class="keyword">function</span><span class="default">&nbsp;</span><span class="keyword">(</span><span class="keyword">)</span><span class="default">&nbsp;</span><span class="keyword">{</span><span class="keyword">}</span><span class="keyword">;</span></td></tr>

D:\a\php-code-coverage\php-code-coverage\tests\tests\Report\Html\EndToEndTest.php:101
D:\a\php-code-coverage\php-code-coverage\tests\tests\Report\Html\EndToEndTest.php:59

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@sebastianbergmann sebastianbergmann force-pushed the feature/filter-by-test-size branch from b03cb3f to 95b4065 Compare April 23, 2026 04:13
@sebastianbergmann sebastianbergmann force-pushed the feature/filter-by-test-size branch from 95b4065 to 055b384 Compare April 23, 2026 07:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant