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

Selecting "class" as a specific test does not work #28

Open mglaman opened 7 years ago

mglaman commented 7 years ago

When you select "class" it still shows a random text box and is not respected.

fubarhouse commented 7 years ago

+1!

As it appears, I can only get the tests to run when 'all' is selected...

Edit: By going back and adding the class name and saving until it actually saves and rerunning it does pick it all up. But I'm not getting any tests from the class executing!

Here's the output, though I've cut out any information that cannot be concealed. The use case here is where this class can be tested from drush or through Drupal's testing ui.

ssh://vagrant@127.0.0.1:2222/usr/bin/php /****/sites/****/****/scripts/run-tests.sh --php /usr/bin/php --url http://**** --concurrency 1 --color --class ****TaxonomyCacheClearTestCase

Drupal test run
---------------

Tests to be run:
 - **** Taxonomy Cache Clear Tests (****TaxonomyCacheClearTestCase)

Test run started:
 Tuesday, March 14, 2017 - 12:59

Test summary
------------

Test run duration: 0 sec

Process finished with exit code 0
msankhala commented 6 years ago

Same issue for me. Even though Class is specified. It is running this command.

/usr/bin/php /**/**/core/scripts/run-tests.sh --php /Applications/MAMP/bin/php/php7.1.12/bin/php --url http://***:**** --dburl mysql://**:**@localhost/dbname --concurrency 1 --color --class ""

  ERROR: No valid tests were specified.

Process finished with exit code 1