Skip to main content



      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 05:39 Go to next message
Eclipse UserFriend
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 09:59 Go to previous messageGo to next message
Eclipse UserFriend
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 11:06 Go to previous messageGo to next message
Eclipse UserFriend
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 15:04 Go to previous message
Eclipse UserFriend
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 77 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: Sat Apr 26 22:58:05 EDT 2025

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

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

Back to the top