-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Class 'Doctrine\Tests\OrmFunctionalTestCase' not found" when trying to run PHPUnit #5620
Comments
git clone [email protected]:doctrine/doctrine2.git
cd doctrine2
composer install
./vendor/bin/phpunit Try that :-) |
Also, obviously requires patching those docs, I suppose :-\ |
I installed composer and its packages, but I don't have any idea of how patch these docs. Is it something like a class mapper? Could you send me any link that could me teach more about it? |
@StanleySathler if that snippet I gave you works (tests run), then you can simply edit |
I did it ;) |
Linking #5623 |
Ocramius, the snippet didn't work. I'll try Jean's suggestions and I'll back with feedback. |
@StanleySathler , my snippet is the same, I just added that you need to install at least SQLite to have a green test suite to start with. |
@Ocramius do we need to update anything here regarding this issue? |
No, this is dealt with in #5623 |
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.
The text was updated successfully, but these errors were encountered: