Skip to content

Commit 6578bdc

Browse files
committed
docs: deprecate showAfterExecution setting (#398)
Test output now displays in VS Code's native Test Results Panel. The Output channel (PHPUnit Debug) is retained for raw debug output only.
1 parent a6697a8 commit 6578bdc

4 files changed

Lines changed: 9 additions & 5 deletions

File tree

packages/extension/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ 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.
41+
3942
### Fixed
4043
- Fix: PHP syntax highlighter misidentifies multiplication line (`* $b`) as doc-comment
4144
- Fix: TestRunWriter.appendLine now correctly appends trailing newline

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-
// When to show output: "always" | "onFailure" | "never" (default: "onFailure")
81-
"phpunit.showAfterExecution": "onFailure",
80+
// (Deprecated) Test output now displays in VS Code's native Test Results Panel.
81+
// "phpunit.showAfterExecution": "onFailure",
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-
// 何時顯示輸出:"always" | "onFailure" | "never"(預設:"onFailure")
81-
"phpunit.showAfterExecution": "onFailure",
80+
// (已棄用)測試輸出現在顯示在 VS Code 原生的 Test Results Panel。
81+
// "phpunit.showAfterExecution": "onFailure",
8282

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

packages/extension/package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,8 @@
165165
"never"
166166
],
167167
"default": "onFailure",
168-
"description": "Specify if the test report will automatically be shown after execution",
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.",
169170
"scope": "application"
170171
},
171172
"phpunit.debuggerConfig": {

0 commit comments

Comments
 (0)