mglaman / intellij-drupal-run-tests

Provides a run configuration that executes Drupal's test runner (for Simpletest, Unit, Kernel, Functional, FunctionalJavascript.)
MIT License
24 stars 2 forks source link

Start phantomjs automatically #19

Open davereid opened 8 years ago

davereid commented 8 years ago

I feel like no where is it documented that I need to have phantomjs running in another active process. Is this something that this plugin could help trigger for us and automatically stop when the tests are done?

mglaman commented 8 years ago

So, I always refer to https://drupalcommerce.org/blog/45322/commerce-2x-unit-kernel-and-functional-tests-oh-my and "Setup PhantomJS" section where I make a Bash runner.

I started on a n IntelliJ PhantomJS plugin so no need for Bash, but haven't finished it.

In that article I show how to do a compound runner, which is what I do. I have a compon runner which starts local PHP server, Phantom, then my PHPUnit or this

mglaman commented 7 years ago

Picking this back up. Perhaps we can add a configuration spot for path to PhantomJS.