Explanation: PHPUnit test directory '...' not found: interpreting '.' as literal rather than current directory? PHPUnit test directory "..." not found: interpret "." as direct meaning of current directory?
P粉011912640
P粉011912640 2024-03-27 19:32:53
0
1
331

I suddenly get the error that the test directory specified in the phpunit.xml configuration file cannot be found; I can see that it interprets the period literally instead of "current directory":

[docker-compose://[/Users/jordan/git/jj/docker-compose.yml]:apache/]:php /var/www/html/restapp/vendor/phpunit/phpunit/phpunit --bootstrap /var/www/html/restapp/rest/bootstrap.php --configuration /var/www/html/restapp/rest/phpunit.xml --teamcity

Test directory "/var/www/html/restapp/rest/tests/./internal/marking" not found
                                                 ^ start of path in <directory>

Why does it try to explain this period literally? What did I suddenly change that caused it to not work?

P粉011912640
P粉011912640

reply all(1)
P粉401901266

The test configuration in PhpStorm is configured incorrectly. View screenshot.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!