You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Control when Test Results panel opens automatically (VS Code built-in setting):
81
+
// - "openOnTestStart" — open as soon as a run starts
82
+
// - "openOnTestFailure" — open only when a test fails (useful for seeing dd() output)
83
+
// - "neverOpen" — never open automatically
84
+
// "testing.openTesting": "openOnTestFailure"
82
85
83
86
// launch.json configuration name for debugging
84
87
"phpunit.debuggerConfig":"",
@@ -327,6 +330,22 @@ Ensure your `phpunit.command` template quotes the variables (this is the default
327
330
```
328
331
</details>
329
332
333
+
<details>
334
+
<summary>Test Results panel does not open automatically after a failure</summary>
335
+
336
+
By default VS Code does not automatically reveal the Test Results panel. To open it whenever a test fails (useful for inspecting `dd()` output or error messages):
337
+
338
+
```jsonc
339
+
{
340
+
"testing.openTesting": "openOnTestFailure"
341
+
}
342
+
```
343
+
344
+
Other values: `"openOnTestStart"`(open as soon as a run starts), `"neverOpen"` (never open automatically).
345
+
346
+
> **Note:** `dd()` output appears in the Test Results panel as raw output, since it causes the PHP process to exit before producing any structured test results.
347
+
</details>
348
+
330
349
<details>
331
350
<summary>Duplicate tests in multi-root workspace</summary>
0 commit comments