Skip to content

Commit ae5a63e

Browse files
committed
docs: remove showAfterExecution setting, add testing.openTesting reference (#398)
Test output uses VS Code's native Test Results Panel. Users can control panel visibility via the built-in testing.openTesting setting.
1 parent 6578bdc commit ae5a63e

4 files changed

Lines changed: 6 additions & 18 deletions

File tree

packages/extension/CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
3636
- Printer: ANSI color output with Collision-style syntax highlighting in Test Result Panel
3737
- Printer: configurable format-string presets (progress, collision, pretty)
3838

39-
### Deprecated
40-
- `phpunit.showAfterExecution` setting — test output now displays in VS Code's native **Test Results Panel** instead of the Output channel. The Output channel (`PHPUnit Debug`) is retained for raw debug output only.
39+
### Removed
40+
- `phpunit.showAfterExecution` setting — test output now displays in VS Code's native **Test Results Panel** instead of the Output channel. Use VS Code's built-in `testing.openTesting` setting to control when the panel opens. The Output channel (`PHPUnit Debug`) is retained for raw debug output only.
4141

4242
### Fixed
4343
- Fix: PHP syntax highlighter misidentifies multiplication line (`* $b`) as doc-comment

packages/extension/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@ Add to `.vscode/settings.json`. All settings use the `phpunit.*` prefix.
7777
// Clear debug output channel before each run (default: true)
7878
"phpunit.clearDebugOutputOnRun": true,
7979

80-
// (Deprecated) Test output now displays in VS Code's native Test Results Panel.
81-
// "phpunit.showAfterExecution": "onFailure",
80+
// Control when Test Results Panel opens (VS Code built-in setting):
81+
// "testing.openTesting": "openOnTestStart" | "openOnTestFailure" | "neverOpen"
8282

8383
// launch.json configuration name for debugging
8484
"phpunit.debuggerConfig": "",

packages/extension/README.zh-TW.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,8 @@
7777
// 每次執行前清除除錯輸出頻道(預設:true)
7878
"phpunit.clearDebugOutputOnRun": true,
7979

80-
// (已棄用)測試輸出現在顯示在 VS Code 原生的 Test Results Panel
81-
// "phpunit.showAfterExecution": "onFailure",
80+
// 控制 Test Results Panel 何時開啟(VS Code 內建設定):
81+
// "testing.openTesting": "openOnTestStart" | "openOnTestFailure" | "neverOpen"
8282

8383
// 除錯用的 launch.json 設定名稱
8484
"phpunit.debuggerConfig": "",

packages/extension/package.json

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -157,18 +157,6 @@
157157
"description": "Clear the debug output channel before each test run.",
158158
"scope": "resource"
159159
},
160-
"phpunit.showAfterExecution": {
161-
"type": "string",
162-
"enum": [
163-
"always",
164-
"onFailure",
165-
"never"
166-
],
167-
"default": "onFailure",
168-
"markdownDeprecationMessage": "**Deprecated**: Test output now displays in VS Code's native Test Results Panel. This setting no longer has any effect.",
169-
"description": "(Deprecated) Specify if the test report will automatically be shown after execution.",
170-
"scope": "application"
171-
},
172160
"phpunit.debuggerConfig": {
173161
"type": "string",
174162
"default": null,

0 commit comments

Comments
 (0)