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?

4
  • Perhaps drupal.org/node/2760905?
    – mona lisa
    Commented Jul 6, 2016 at 14:33
  • Running from the UI though. Same deal? Trying from console now.
    – Kevin
    Commented Jul 6, 2016 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
    Commented Jul 7, 2016 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
    Commented Jul 7, 2016 at 13:26

1 Answer 1

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 and acknowledge you have read our privacy policy.

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