Skip to content

TestDox printer does not consider that issues can be suppressed by attribute, baseline, source location, or @ operator #5884

@Bilge

Description

@Bilge
Q A
PHPUnit version 10.5.24
PHP version 8.2.15
Installation Method Composer

Summary

Testdox prints seemingly-random warning icons (⚠) next to some tests when a test suite passes with 100% success. I could not find the documented meaning behind this anywhere, and searching the code for that emoji did not yield any results, so I'm assuming it's either a bug or undocumented feature, but either way it is very confusing and was not present in PHPUnit 9.

Current behavior

Testdox will print warnings next to some tests for no discernable reason whatsoever.

Patreon Link
 ✔ Patreon link with Follower·only
 ✔ Patreon link with Non-member
 ⚠ Patreon link with Tier·2
 ✔ Patreon link with Former·patron
 ✔ Patreon link with Tier·1
 ✔ Patreon link with Cancelled·but·active·member
 ⚠ Patreon link with T1·->·T2·upgrade
 ⚠ Patreon link with Tier·3

OK (131 tests, 511 assertions)

image

How to reproduce

Run some tests?

Expected behavior

If the summary shows 100% OK, I would not expect to see warning icons in the summary output. If there are warnings, I expect to see details of what those warnings are somewhere.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions