[ PHPUnit ] Skipped tests marked as passed in the Test Results window #7739
Labels
kind:bug
Bug report or fix
needs:triage
Requires attention from one of the committers
PHP
[ci] enable extra PHP tests (php/php.editor)
Apache NetBeans version
Apache NetBeans 22
What happened
Whether a test is skipped because of annotations or because a dependency failed it will be marked as passed (it should be marked as skipped). There is no mention of the number of skipped tests anywhere and the "show skipped" button does nothing.
The output window does show the results of the tests correctly and the nb-phpunit-log.xml file does contain information about the skipped tests.
Language / Project Type / NetBeans Component
PHPUnit
How to reproduce
Just run this simple test:
As you can see, you will find every skipped test passed:
Did this work correctly in an earlier version?
No / Don't know
Operating System
Debian 12
JDK
OpenJDK Runtime Environment 17.0.12+7-Debian-2deb12u1
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
This is the output of the "Output window" which shows both tests skipped due errors and the one manually skipped:
Are you willing to submit a pull request?
No
The text was updated successfully, but these errors were encountered: