Answer the question
In order to leave comments, you need to log in
Phalcon unit test example not working, where is the error?
Good day comrades!
In the course of getting to know Phalcon, I came across a problem with unit testing, an example of which is in the framework documentation .
With a normal copy-paste, an error appears:
PHP Fatal error: Class 'UnitTestCase' not found in /home/Dev/web/testproject.local/public_html/tests/testsTestUnitTest.php on line 5
$loader->registerNamespaces(array(
'Phalcon' => '/var/tmp/incubator/Library/Phalcon/'
));
// required for phalcon/incubator
include __DIR__ . "/../vendor/autoload.php";
Answer the question
In order to leave comments, you need to log in
Not familiar with Falcon (!!!), but based on
// required for phalcon/incubator
include __DIR__ . "/../vendor/autoload.php";
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question