http://localhost/laravel/app/tests/ExampleTest.php
if i run laravel it shows the following error
Fatal error: Class \'TestCase\' not found in D
I got the same error but none worked,
except for this one, this worked for me,
I tried reinstalling and upgrading my phpunit in Laravel 5.4,
modify compose.json -> find these line and change the phpunit version
"require-dev": { "phpunit/phpunit": "~6.4" },
after editing, run on your cmd,
composer update
then run
composer dump-autoload
php artisan config:clear
php artisan cache:clear
finally,
run phpunit
or run specific unit, phpunit --filter yourTestCaseClass