Answer the question
In order to leave comments, you need to log in
How to set up PHPStorm for PHPUnit testing Laravel (via Vagrant Box: Laravel Homestead)?
I work from under windows, the project on Laravel works through Vagrant Box: Laravel Homestead. I can’t get PHPStorm to work with PHPUnit in any way, I create a new PHPUnit on Server configuration, the Homestead box is specified as the server (the connection test is successful), I configured the rest of the parameters in different ways, but the result is always the same, after running the test log in the PHPUnit IDE:
Testing started at 18:44 ...
Uploading test files to Homestead...
Executing tests
Http request failed: HTTP/1.1 404 Not Found
No input file specified.
Cleaning up...
Answer the question
In order to leave comments, you need to log in
Homestead, Laravel 4, PHPStorm 8.0.1.
In Settings -> PHP I set Interpreter: Remote PHP 5.x;
PHPUnit Settings:
Run config:
Works for me :)
As far as I know, PHPStorm uploads tests to the server, and runs them via http, apparently you get 404 when you request. But I don’t know how and where PHPStorm makes the request...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question