For me this has mostly worked (except for tests that access the service container in data providers, which is discouraged anyway https://phabricator.wikimedia.org/T332865) for a few months now – probably since Daimona’s work on phpunit:entrypoint https://lists.wikimedia.org/hyperkitty/list/wikitech-l@lists.wikimedia.org/message/QT7G4CRKZG4VEUR2SXIMYGHDSKIFUS5D/. (I didn’t have to do any special IDE configuration, it Just Worked™ for me.) Are you using the master branch or some released version of MediaWiki?
(I’m using IntelliJ IDEA Ultimate, but I assume PHPStorm should work very similarly.)
Am Mi., 29. Nov. 2023 um 15:32 Uhr schrieb Daniel Riedmueller via Wikitech-l wikitech-l@lists.wikimedia.org:
Hello!
Did someone successfully configured PhpStorm to run integration tests in the GUI?
To make integration tests work,
tests/phpunit/phpunit.php
has to be used. But that seems not possible to integrate with PhpStorm.
Many regards, Daniel Riedmüller
Wikitech-l mailing list -- wikitech-l@lists.wikimedia.org To unsubscribe send an email to wikitech-l-leave@lists.wikimedia.org https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/