-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Details about deprecations, notices, and warnings are not displayed when the TestDox result printer is used #5518
Comments
PHPUnit 10 introduced a clear separation between the outcome (errored, failed, incomplete, skipped, or passed) of a test and the issues (considered risky, triggered a deprecation/notice/warning, etc.) of a test. While a test does only have outcome, it may have >= 0 issues. I do not think that the information about issues can be displayed in TestDox format in a useful way. I therefore propose that we only consider test outcome for the TestDox format and display details about test issues by re-using the default result printer. Consider the following example:
|
Display deprecations, notices, and warnings in TestDox output when
--display-deprecations
(ordisplayDetailsOnTestsThatTriggerDeprecations="true"
),--display-notices
(ordisplayDetailsOnTestsThatTriggerNotices="true"
),--display-warnings
(ordisplayDetailsOnTestsThatTriggerWarnings="true"
) is used, respectively.The text was updated successfully, but these errors were encountered: