PHPUnit "Test Framework quit unexpectedly" when running class (on Vagrant host) with v2019.3

All Class tests have stopped working since I upgraded v2019.2 to 2019.3, with the error "Test framework quit unexpectedly".

I'm using a vagrant host and I'm configured correctly. Running method tests and all tests still work as expected.

I'm at a complete loss as to why this has stopped working. 

Interpreter config:

 

Working Method config:

 

Non-working Class config:

 

Any help getting this working greatly appreciated.

1
2 comments
Avatar
Permanently deleted user

Investigating further, the command that PHPStorm generates does run the tests successfully when executed directly on the VM:

/usr/bin/php /vagrant/vendor/phpunit/phpunit/phpunit --configuration /vagrant/phpunit.xml --filter Tests\\\\Feature\\\\Policy\\\\Team\\\\BranchPolicyTest /vagrant/tests/Feature/Policy/Team/BranchPolicyTest.php --teamcity --cache-result-file=/vagrant/.phpunit.result.cache

0
Avatar
Permanently deleted user

For anyone else having this issue, it's a confirmed bug: https://youtrack.jetbrains.com/issue/WI-50894

0

Please sign in to leave a comment.