I try to run a PHPunit test in Eclipse, the end result is no test, but this in the console:
PHPUnit 10.4.2 by Sebastian Bergmann and contributors.
Unknown option "--printer"
And after that an error with:
cannot launch phpunit tests (port address 7478) accept timed out
I cannot figure out what is wrong…
2
Answers
I downgraded to version 9 and problem was solved. I read somethings about version 10 that printing to console is removed in this version, i assume that Ecplipse doesn't work correct with PhPunit then
You need to adjust the PHPUnit command the Eclipse PHP plugin issues to remove unknown option.
The command was probably written for the older version of PHPUnit and this option is no longer supported.