What happened?
When I try to run the tests (phpUnit) in my docker container context with the extension, the extension could not launch my containers.
Steps to reproduce
- Create a PHP project (I use frankenphp + docker + symfony)
- Write some phpunit tests
- Paste the config for the extension
- click on the run button
- observe the "Test results" console
Extension settings
Output channel log
docker compose -f docker-compose-test.yml up -d php-e2e 2>/dev/null; docker compose -f docker-compose-test.yml exec -t php-e2e sh -c while ! curl -s http://localhost:80/healthz >/dev/null; do sleep 1; done; php vendor/bin/phpunit --colors=always --teamcity
[Queue]
...
unknown shorthand flag: 'f' in -f
Environment
Version: 1.116.02821
Commit: 221e0a382c0be3a673a4e4cab0601344a0b3de3a
Date: 2026-04-15T00:28:13Z
Electron: 39.8.7
ElectronBuildId: undefined
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
- Extension version: [3.9.38] - 2026-04-02
- PHP version: 8.4
- PHPUnit / Pest version: 12
- Run environment: Docker
Project structure (if relevant)
project/
|src
|tests
|phpunit.xml.dist
docker-compose-test.yml
What happened?
When I try to run the tests (phpUnit) in my docker container context with the extension, the extension could not launch my containers.
Steps to reproduce
Extension settings
{ "phpunit.config": "project/phpunit.xml.dist", "phpunit.php": "php", "phpunit.phpunit": "vendor/bin/phpunit", "phpunit.command": "docker compose -f docker-compose-test.yml up -d php-e2e 2>/dev/null; docker compose -f docker-compose-test.yml exec -t php-e2e sh -c \"while ! curl -s http://localhost:80/healthz >/dev/null; do sleep 1; done; php vendor/bin/phpunit ${phpunitargs}\"", "phpunit.debuggerConfig": "Listen for Xdebug", "phpunit.paths": { "${workspaceFolder}/project": "/project" } }Output channel log
Environment
OS: Debian Trixie
VS Code version (vscodium):
Version: 1.116.02821
Commit: 221e0a382c0be3a673a4e4cab0601344a0b3de3a
Date: 2026-04-15T00:28:13Z
Electron: 39.8.7
ElectronBuildId: undefined
Chromium: 142.0.7444.265
Node.js: 22.22.1
V8: 14.2.231.22-electron.0
Project structure (if relevant)