For me this has mostly worked (except for tests that access the service container in data providers, which is discouraged anyway) for a few months now – probably since Daimona’s work on phpunit:entrypoint. (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/


--
Lucas Werkmeister (he/er)
Software Engineer

Wikimedia Deutschland e. V. | Tempelhofer Ufer 23-24 | 10963 Berlin
Phone: +49 (0)30-577 11 62-0
https://wikimedia.de

Imagine a world in which every single human being can freely share in the sum of all knowledge. Help us to achieve our vision!
https://spenden.wikimedia.de

Wikimedia Deutschland — Gesellschaft zur Förderung Freien Wissens e. V. Eingetragen im Vereinsregister des Amtsgerichts Charlottenburg, VR 23855 B. Als gemeinnützig anerkannt durch das Finanzamt für Körperschaften I Berlin, Steuernummer 27/029/42207.