search

Home  >  Q&A  >  body text

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?

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粉011912640P粉011912640288 days ago417

reply all(1)I'll reply

  • P粉401901266

    P粉4019012662024-03-28 15:47:33

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

    reply
    0
  • Cancelreply