用 drupal 生成模块后:
vendor/bin/drupal generate:module
我尝试在此文件中的新模块中运行单元测试:modules/custom/candidacy_analysisr/tests/src/Functional/LoadTest.php
所以我在创建 phpunit.xml 并将其放入核心后使用了这个命令
vendor/bin/phpunit --configuration core modules/custom/candidacy_analyser/tests/src/Functional/LoadTest.php
但是我发现了这个错误:
有 1 个错误:
1) Drupal\测试