We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Getting error while executing phpunit

Geting below error when ever i try to execute phpunit PHP Fatal error: Class 'Phalcon\Test\UnitTestCase' not found

Is the Phalcon module loaded to the PHP CLI you are running?



7.7k
Accepted
answer

I have solved issue by updating php version from 5.6 to 7