drupal_ti icon indicating copy to clipboard operation
drupal_ti copied to clipboard

phpunit-core should not require Drupal installation

Open mradcliffe opened this issue 10 years ago • 1 comments

Running phpunit tests should not require a Drupal installation as there should be no database state for those tests. It should only need to download Drupal.

Solution should be to decouple download and install tasks from the ensure drupal and ensure module functions.

mradcliffe avatar Aug 07 '15 16:08 mradcliffe

That is correct and I missed that the installation is done, too for phpunit-core. I usually used the phpunit runner with a dependency on drupal/drupal myself in cases where I only use tests in a dedicated tests directory, but I agree phpunit-core needlessly does that.

Thanks for the bug report!

LionsAd avatar Aug 07 '15 19:08 LionsAd