Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

Class 'UnitTestCase' not found


I'm running phpunit with instructions from

and I'm getting Class 'UnitTestCase' not found error like in this question

This in TestHelper.php doesn't help:

    'Phalcon' => '../vendor/phalcon/incubator/Library/Phalcon/'

It's like after composer install incubator lib is not detected but other classes from Phalcon works ok


Problem solved. Remember to run phpunit in tests folder. phpunit tests/ command doesn't work.