lundi 12 juin 2017

How to run drupal tests in Kalabox

I am using Kalabox to develop a Drupal 8 module. I am trying to run the tests, but I am having no luck. I have only be able to run it from the website itself at /admin/config/development/testing, but this is slow and tedious.

I would prefer to automatically run the tests from Phpstorm some how. I have tried this command line from the code/ of the Kalabox container.

kbox php core/scripts/run-tests.sh --url http://ift.tt/2rUD8qK --dburl http://ift.tt/2rpol49 --concurrency 1 --color --types Simpletest,PHPUnit-Unit,PHPUnit-Kernel,PHPUnit-Functional test_module --verbose

The response is ERROR: No valid tests were specified.

Thanks for any help.

Aucun commentaire:

Enregistrer un commentaire