PhpUnitTestDiscoveryTest::TEST_LIST_MISMATCH_MESSAGE
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Test/ PhpUnitTestDiscoveryTest.php, line 31
Class
- PhpUnitTestDiscoveryTest
- Tests equality of test discovery between run-tests.sh and PHPUnit CLI.
Namespace
Drupal\KernelTests\Core\TestCode
private const TEST_LIST_MISMATCH_MESSAGE = "The list of test classes to be executed misses some files, see below. Make sure to:\n" . "1) give test classes a name that ends with a *Test suffix, and that the file is named accordingly;\n" . "2) the file of the test class is reachable by the directories specified in the <testsuites> section of the phpunit.xml file;\n" . "3) your version of the phpunit.xml configuration file is aligned with the PHPUnit and Drupal versions being used in testing.\n";
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.