It is possible to run Magento tests using remote PHP interpreter from the kubernetes cluster.
- Configure remote PHP interpreter in PhpStorm with credentials
root:123123q
. Use the IP which you get by runningminikube ip
and port30022
. It is important to updateConfiguration options
field for XDebug to work. - Select configured remote PHP interpreter
- Configure PhpUnit to use the configured remote PHP interpreter
When remote PHP configuration is successfully completed run the tests from PhpStorm as usual.