vscode-phpunit icon indicating copy to clipboard operation
vscode-phpunit copied to clipboard

Relative Path does not work with tests in subfolders

Open MathiasWeisheit opened this issue 4 years ago • 0 comments

Setup:

  • docker
  • Source in folder /webapp/src
  • Tests in folder /tests/**/*Test.php
  • inside the container the Source is in /app (/webapp/src == /app)

if I start a test: [2021-09-24 11:49:12.358] [INFO] { title: 'PHPUnit LSP', command: '\docker-compose exec -u root webserver php', arguments: [ '\app\vendor\bin\phpunit', '--filter', '"/^.::categories_can_be_retrieved.$/"', 'webapp\src\tests\Feature\CategoryTest.php' ] }

You see the functions calls the path webapp\src\tests\Feature\CategoryTest.php witch does not exists within the container.

Can you help me?

MathiasWeisheit avatar Sep 24 '21 11:09 MathiasWeisheit