erdfisch Blog

Artikel verschlagwortet mit/articles tagged with


Use test coverage via xdebug directly in phpstorm

Single image: 

This small blog post will show how to run unit tests in storm and directly access the test coverage based upon that.

If you want to use the shell, have a look at the following post…

Run phpunit for Drupal 8 in phpstorm


Since Drupal 8 started to use PHPUnit as it's unit test framework. One advantage of PHPUnit is that there are tools around which support it already.

One example is phpstorm
which is a great IDE for php developers.

This blog post describes how you can setup to run phpunit in phpstorm.

Step 1: Create a new run configuration

You start by clicking on the arrow in the UI and choose "Edit Configuration". (See Screenshot).