- ๐ฎ๐ณIndia joshi.rohit100 Delhi, India
I am also facing the same issue and not working even with providing the -c option for phpunit file.
Not sure if this is because of some. directory path issue.Project setup is like below -
Root project directory with vendor folder
-- docroot directory
-- -- core directory - ๐ฎ๐ณIndia shobhit_juyal New Delhi
Yes, not working for me as well, followed @longwave suggestion to run it from top level.
Drupal version : 10.0.0 PHPUnit 10.5.3 by Sebastian Bergmann and contributors.
- ๐ฉ๐ฐDenmark ressa Copenhagen
DDEV Selenium Standalone Chrome makes running Drupal core PHPUnit tests easy. It has noVNC support, so you can even follow along in the browser.
For running PHPUnit tests in contrib modules, see DDEV Drupal Contrib.
I faced the same problem until I realized I was missing the core-dev package. Running
composer require --dev drupal/core-dev
solved the problem.- ๐ฎ๐นItaly itamair
thanks @ressa,
and also @jErry_jakcson ...Running
composer require --dev drupal/core-dev
solved the problem for me too.