-
Notifications
You must be signed in to change notification settings - Fork 194
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 'TestCase' not found. #39
Comments
It seems you don't load I've got your problem.
You are in
|
Do you have in your folder test the file TestCase.php |
Thank you for the help. Running phpunit from the tests directory cleared this up. I am getting different errors now, but I will bang on them myself for awhile so I can learn the system. Thanks again for your quick responses to my fairly derpy issue. =) |
No problem. I added note: ccc0489 |
Hello,
I am having problems setting up ci-phpunit-test with PHPUnit 4.7 and CodeIgniter 3. I have gone through the documentation here and on the PHPUnit site to ensure I haven't missed any setup steps, but maybe that is all that is happening here. When I run a specific test case file with phpunit, I receive the following error message:
This clears up if I add "include '../TestCase.php';" but then it can't find another class, and so on down the rabbit hole.
The code below is a meaningless test as I am trying to get phpunit to run and be able to find the necessary classes for core functionality.
Please let me know if I can provide additional relevant details. My PHP knowledge is weak, but I am experienced with JUnit.
Thank You!
The text was updated successfully, but these errors were encountered: