0

Under a fresh install of 8.2.x, when I run tests, only Kernel tests seem to fail with this message from the testing UI:

(path/to/test/Kernel/test.php) ... Permission denied

Pretty much any Kernel test I select exits immediately with that error. Other tests, like Unit tests, work fine. Is this a file permission issue or something I missed in config?

  • Perhaps drupal.org/node/2760905? – cilefen Jul 6 '16 at 14:33
  • Running from the UI though. Same deal? Trying from console now. – Kevin Jul 6 '16 at 14:39
  • Can you specify an exact test you can reproduce this with so others can try it out too? I don't recall why I did it, but I have drush -y en basic_auth in my setup script for Drupal 8 dev. Want to try with and without with a test that fails for you. – mpdonadio Jul 7 '16 at 2:53
  • Using the testing UI, if I select migrate drupal 6 for example, all tests fail with that error. Is this a problem with the UI, and should I only use CLI? – Kevin Jul 7 '16 at 13:26
0

Looks like some tests can only be ran with the command line and will not work with the test runner UI.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.