Zend Studio 13.5 "Run as" PHPUNIT failed

General discussion on Zend Studio
Post Reply
Posts: 1
Joined: Fri Mar 31, 2017 2:49 pm

Zend Studio 13.5 "Run as" PHPUNIT failed

Post by seba338 » Fri Mar 31, 2017 3:17 pm


I try to run my php unit test in Zend Studio but I get this error

Code: Select all

Fatal error: Class 'PHPUnit_Util_Printer' not found in 
I work on Windows, my project has a composer support and i added this dependencie :

Code: Select all

"require-dev" : {
    "phpunit/phpunit" : "^6.0.8 || ^5.7.15"
I ran composer update with Zend Studio (right click on project -> composer -> update dependencies), and when i want run unit test it does not work.

Any ideas to resolve my problem please?

If you want anymore screenshots not hesitate to ask me.

Thanks in advance.

PS : you can see in attachement all configurations
run as conf (Environment).PNG
run as configuration (Environment)
run as conf (Environment).PNG (47.4 KiB) Viewed 1708 times
run as conf (php script).PNG
run as configuration tab PHP Script
run as conf (php script).PNG (44.92 KiB) Viewed 1708 times
run as conf.PNG
Run as configuration
run as conf.PNG (55.42 KiB) Viewed 1708 times

Post Reply