Просмотр исходного кода

feat(devcontainer): try provide --bootstrap arg and use global phpunit

rugk 5 месяцев назад
Родитель
Сommit
422f149c52
1 измененных файлов с 5 добавлено и 2 удалено
  1. 5 2
      .vscode/settings.json

+ 5 - 2
.vscode/settings.json

@@ -2,8 +2,11 @@
     "files.associations": {
     "files.associations": {
         "**/cfg/conf*.php": "ini"
         "**/cfg/conf*.php": "ini"
     },
     },
-    "phpunit.phpunit": "${workspaceFolder}/vendor/bin/phpunit",
+    "phpunit.phpunit": "${userHome}/.composer/vendor/bin/phpunit",
     "phpunit.args": [
     "phpunit.args": [
-        "--configuration '${workspaceFolder}/tst/phpunit.xml'"
+        "--configuration",
+        "${workspaceFolder}/tst/phpunit.xml",
+        "--bootstrap",
+        "${workspaceFolder}/tst/Bootstrap.php"
     ]
     ]
 }
 }