Drupal Tests in wrong place #621
Labels
Status: test-needed
identifies where tests should be added but haven't been.
Subject: Drupal
related specifically to Drupal, usually pointing somewhere on drupal.org
Apparently Drupal have no idea what or where tests should go. Because I am finding some weird information.
So in Islandora where
IslandoraKernelTestBase
extendsKernelTestBase
all our files fall under the section Writing Functional TestsThe important bits are
So ours are all using:
\Drupal\Tests\islandora
which should be\Drupal\islandora\Tests
Tests/src/Kernel
which should besrc/Tests/Kernel
Except that PSR-4 seems to state that tests are not placed in the
src/
directory. So perhaps Drupal documentation is completely wrong?The text was updated successfully, but these errors were encountered: