After updating from 4.2.2 to 5.1.2 via phar file, I can't run the tests in PhpStorm anymore:
[docker-compose://[C:\Users\moellekenl\PhpstormProjects\Foo\docker-compose.yml]:php/]:php /opt/.phpstorm_helpers/codeception.php run --report -o "reporters: report: PhpStorm_Codeception_ReportPrinter" --no-interaction unit -c codeception.yml foo/bar/LallUnitCest.php
Testing started at 13:14 ...
Codeception PHP Testing Framework v5.1.2 https://stand-with-ukraine.pp.ua
LallUnitCest: Test lall.....................................FAIL
WARNING: 'reporters' option is not supported! Custom reporters must be reimplemented as extensions.
Activity
W0rma commented on Feb 22, 2025
Is the "reporters" option added by phpStorm? According to the changelog it is not supported in v5 anymore
Codeception/CHANGELOG-5.x.md
Line 182 in 6e06224
voku commented on Feb 22, 2025
Yes, I they use it to show the results in the IDE: PhpStorm_Codeception_ReportPrinter
PS: I will recheck if I can change something in the IDE settings 📖
Naktibalda commented on Feb 23, 2025
It seems that PhpStorm has correct code for running Codeception 5, but it has some difficulties detecting that Codeception had been updated.
See https://youtrack.jetbrains.com/issue/WI-68028/Refresh-test-frameworks-versions-on-composer-update