running tests against Laravel in Phpstorm

HI Folks,

On one of my installations of Phpstorm I can run tests against my Laravel project within the ide.  On another, I cannot.

I get:

```

/usr/bin/php /tmp/ide-phpunit.php --no-configuration can_log_in /home/edg/PhpstormProjects/elkslodges/tests/can_log_in.php
Testing started at 11:31 AM ...
#!/usr/bin/env php
You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug


[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "can_log_in" is not defined.


Process finished with exit code 1

```

 

The same command, minus the reference to /tom/ide-phpunit.php runs fine at the command line both inside and outside of Phpstorm:

```

edg@arthur elkslodges (develop)$ vendor/bin/phpunit --no-configuration can_log_in /home/edg/PhpstormProjects/elkslodges/tests/can_log_in.php
PHPUnit 4.8.35 by Sebastian Bergmann and contributors.

.

Time: 3.61 seconds, Memory: 18.50MB

OK (1 test, 0 assertions)
edg@arthur elkslodges (develop)$

```

I'm stumped.  Any suggestions? 

Thanks,

Ed

 

0

请先登录再写评论。