Closed kevincolten closed 9 years ago
Solved it by creating my phpunit.xml
<phpunit
bootstrap="bootstrap/autoload.php"
colors="true"
>
<testsuites>
<testsuite name="App Tests">
<directory>app/tests</directory>
</testsuite>
</testsuites>
</phpunit>
thanks to this video Composer, Autoloading, Namespacing, and PHPUnit!
Using Laravel, after installing
with composer, as per the phpunit docs, I get this error
when running this test
The class seems to be mapped in
composer/autoload_classmap.php
with'PHPUnit_Extensions_Selenium2TestCase' => $vendorDir . '/phpunit/phpunit-selenium/PHPUnit/Extensions/Selenium2TestCase.php'
Any idea as to why it can't find the class?