Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Unable to find phpunit phar(unable to find phpunit phar. check phpunit configuration)
Unable to find phpunit phar [message #1862785] Fri, 29 December 2023 10:39 Go to next message
Jilco Tigchelaar is currently offline Jilco TigchelaarFriend
Messages: 3
Registered: December 2023
Junior Member
I trie to setup a Laminas Project with PHPunit 10, when running the project as PHPUnit test, this error appears

unable to find phpunit phar. check phpunit configuration

How to solve?
Re: Unable to find phpunit phar [message #1862825 is a reply to message #1862785] Sat, 30 December 2023 14:59 Go to previous messageGo to next message
Dawid Pakula is currently offline Dawid PakulaFriend
Messages: 290
Registered: March 2013
Senior Member
PHPUnit 10 is not supported yet. They completely changed way to comunicate with unit process.

I have plan to add phpunit10 support for PDT 8.3 (Eclipse 2024-03)


Re: Unable to find phpunit phar [message #1862826 is a reply to message #1862825] Sat, 30 December 2023 16:06 Go to previous messageGo to next message
Jilco Tigchelaar is currently offline Jilco TigchelaarFriend
Messages: 3
Registered: December 2023
Junior Member
Also with PHPUnit 9.6.15 (and laminas-test) i get the same error...

The strange thing is that in other not laminas projects, the error is not there and testing works

I searched for the phpunit.phar file, but it is in none of the projects. In installed PHPUnit as a dependency via composer (in all the projects)

So it seems to be laminas related
Re: Unable to find phpunit phar [message #1862830 is a reply to message #1862825] Sat, 30 December 2023 20:04 Go to previous message
Jilco Tigchelaar is currently offline Jilco TigchelaarFriend
Messages: 3
Registered: December 2023
Junior Member
By coincidence i discovered that the name of the project causes the problem! School3 is not working (and gives the error while testing), school03 does work! So the project name has to be 8 characters long at least with Laminas and PHP unit (I assume after testing)
  • Attachment: phpunit.jpg
    (Size: 188.44KB, Downloaded 36 times)
Previous Topic:Auth Fail while synchronizing after Eclipse update
Next Topic:How long does it take to review PDT bugs?
Goto Forum:
  


Current Time: Fri Oct 11 01:59:44 GMT 2024

Powered by FUDForum. Page generated in 0.04574 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top