-
-
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
Print complete test result (outcome and issues) when --teamcity
is used
#5285
Comments
This is not a bug, it works as it is currently intended to work. The idea here is that Due to limitations of PHPUnit 9's architecture, the TeamCity messages were printed in addition to the default output. In PHPUnit 10 we "fixed" that. In #5276, we already brought back the display of test result summary and warnings. We can, of course, also bring back other details. But I do not want to make that decision, that decision should be made by JetBrains. Because nobody is helped if the output that PHPUnit generates when Here is what I propose: |
Thanks Sebastian, that explanation makes sense. I have opened a ticket with JetBrains so they can review your proposed fix: https://youtrack.jetbrains.com/issue/WI-71858/PHPUnit10-doesnt-list-deprecations-even-when-displayDetailsOnTestsThatTriggerDeprecations-is-set-to-true |
Hi @sebastianbergmann! PhpStorm is here. Let's bring back deprecations as well as it was done for other details in scope of #5276 . We will check and ensure that PhpStorm processes such output properly as well |
--testdox
is used
--testdox
is used--teamcity
is used
@isfedorov Can you please have a look at the output of |
@isfedorov Thank you! |
Summary
Output with displayDetailsOnTestsThatTriggerDeprecations="true" only includes the Deprecation in the tests summary, but does not list the file location.
Current behavior
Deprecations mentioned in summary when run in PHPStorm. The same issue is also happening with testdox enabled.
How to reproduce
This is my configuration:
Expected behavior
The expected behaviour is a list of the deprecations and which files they reside in, so they can be fixed!
The text was updated successfully, but these errors were encountered: