Files
PrivateBin/.vscode/settings.json
rugk 285f592e70 test(phpunit): fix PHPUnit different CWD with a custom command
As per https://github.com/recca0120/vscode-phpunit/issues/385#issuecomment-3947799942

Also needed to set `XDEBUG_MODE`.

Generally works, but now I get test failures.
2026-02-24 12:37:47 +00:00

19 lines
573 B
JSON

{
"files.associations": {
"**/cfg/conf*.php": "ini"
},
"phpunit.environment": {
"XDEBUG_MODE": "coverage"
},
"phpunit.phpunit": "${userHome}/.composer/vendor/bin/phpunit",
"phpunit.command": "/bin/sh -c 'cd ${workspaceFolder}/tst && ${php} ${phpunit} ${phpunitargs}'",
"phpunit.args": [
"--configuration",
"${workspaceFolder}/tst/phpunit.xml",
"--bootstrap",
"${workspaceFolder}/tst/Bootstrap.php"
],
"mochaExplorer.pkgFile": "js/package.json",
"mochaExplorer.files": "js/test/*.js"
}