mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
"Class 'Doctrine\Tests\OrmFunctionalTestCase' not found" when trying to run PHPUnit #4982
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @StanleySathler on GitHub (Jan 19, 2016).
Originally assigned to: @Ocramius on GitHub.
Guys, since I'm new as developer, I'm trying to participate on Open Source community.
I have here a Xubuntu 14.04, 64-bits. Already installed Apache2, MySQL and PHP5 (5.5.9). After forked the repository, I'm trying to run the unit tests... it is my first time with them.
I've been following these instructions, but when I type $ phpunit Doctrine/Tests/ORM/Functional/Locking/GearmanLockTest.php, I get this error:
PHP Fatal error: Class 'Doctrine\Tests\OrmFunctionalTestCase' not found in /var/www/html/doctrine2/tests/Doctrine/Tests/ORM/Functional/Locking/GearmanLockTest.php on line 14
I think that I'm missing something, because I already checked this class and its namespace and, theoretically, it exists.
Could someone help me? And I am sorry if I am making a foolish mistake.