Support the ongoing development of Laravel.io →
Installation Configuration Testing

i m facing this error in Php Storm

Fatal error: Class 'TestCase' not found in C:\xampp\htdocs\testproject\app\tests\ExampleTest.php on line 3

cd C:\xampp\htdocs\testproject Current working directory is 'C:\xampp\htdocs\testproject'.

phpunit Cannot run program "phpunit" (in directory "C:\xampp\htdocs\testproject"): CreateProcess error=2, The system cannot find the file specified

Last updated 2 years ago.
0

are you already install "phpunit"?

Last updated 2 years ago.
0

i download phpunit/phpunit version 4.2.0 from composer

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

umairali umairali Joined 29 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.