Class '<SOMECLASS>' could not be found in '<SOMEPATH>'
Hi,
I tried to run phpunit on my laravel 4.2 project with Sublime 3 on Windows 10. (Before I upgraded to Windows 10, everything worked fine) I got this error :
PHPUnit 3.7.21 by Sebastian Bergmann. Class 'SubjectTest' could not be found in '\app\tests\models\SubjectTest.php'. [Finished in 0.2s]
And here is my SubjectTest.php
<?php
class SubjectTest extends TestCase {
...
}
Do you have any idea how to solve this problem?
Thank you.
When I enable debugging, I found this
phpunit SubjectTest \app\tests\models\SubjectTest.php
I tried this command in cmd, it also failed.
But when I tried with the following command (without backslash at the beginning), it passed.
phpunit SubjectTest app\tests\models\SubjectTest.php
Hope this help.
Thanks. I'll see what's going on.
On 12 Aug 2015, at 09:32, ipol2n [email protected] wrote:
When I enable debugging, I found this
phpunit SubjectTest \app\tests\models\SubjectTest.php I tried this command in cmd, it also failed.
But when I tried with the following command (without backslash at the beginning), it passed.
phpunit SubjectTest app\tests\models\SubjectTest.php
Hope this help.
— Reply to this email directly or view it on GitHub.
Hi. Any news about this issue? I have just installed the packege ant it seems the problem i still happening. My case: ST3 + W7
Thanks!