Skip to content

Releases: recca0120/vscode-phpunit

v3.9.38

Choose a tag to compare

@recca0120 recca0120 released this 02 Apr 13:51

Fixed

  • PathReplacer now correctly resolves ${workspaceFolder} to the VS Code workspace root instead of cwd in monorepo / nested config setups (#413)
  • Rename misleading fallback test to clarify duplicated path segment behavior

v3.9.37

Choose a tag to compare

@recca0120 recca0120 released this 02 Apr 07:39

Fixed

  • Resolve ${workspaceFolder} in --configuration argument during test discovery (#410)
  • Remove duplicate test for ${workspaceFolder} configuration resolution

Docs

  • Add keybinding tips for combining Test Results panel with test commands (#401)
  • Add missing "Test Results panel not opening" troubleshooting entry to Chinese README

v3.9.36

Choose a tag to compare

@recca0120 recca0120 released this 13 Mar 05:57

Fixed

  • Fix: Pest v2 `describe()` + `->with()` tests now correctly update Test Explorer icons — `testSuiteStarted` evaluable encoding with `→` separator is now decoded properly
  • Fix: Pest v3 `testSuiteStarted` / `testSuiteFinished` names truncated by PHP byte/char mismatch (`mb_strrpos` + `substr`) — parent test items now correctly reflect pass/fail status after a run

Changed

  • Refactor: extract `AliasMap` to `@vscode-phpunit/phpunit` — a `Map` subclass that auto-registers Pest v3 truncated ID aliases on `set()`

v3.9.35

Choose a tag to compare

@recca0120 recca0120 released this 12 Mar 09:46

Fixed

  • Fix: preserve namespace separators (\) in Pest describe block names from locationHint — describe(SomeClass::class, ...) tests now correctly update Test Explorer icons after a run (#407)

Docs

  • Document testing.openTesting setting for auto-opening Test Results panel; note dd() output behavior

v3.9.34

Choose a tag to compare

@recca0120 recca0120 released this 11 Mar 01:49

Fixed

  • Resolve ::class constant in Pest describe() to fully qualified class name, fixing Test Explorer not detecting tests described with SomeClass::class (#405)

Chores

  • Update dependencies: php-parser, fast-xml-parser, minimatch, strip-ansi, biome, glob, sinon, lefthook, @types/node
  • Remove deprecated @types/glob

v3.9.33

Choose a tag to compare

@recca0120 recca0120 released this 03 Mar 22:05

Improved

  • Replace RawOutputObserver with DebugOutputObserver for structured diagnostic output in PHPUnit Debug channel, showing queue, parsed id, locationHint, and find() results (#403)

v3.9.32

Choose a tag to compare

@recca0120 recca0120 released this 01 Mar 19:05

Fixed

  • Dataset children icons now update correctly in TestExplorer when running method-level tests with statically resolved datasets (#400)

v3.9.31

Choose a tag to compare

@recca0120 recca0120 released this 01 Mar 16:07

Fixed

  • Reset now properly clears testsuite and namespace nodes from the test tree (#390)
  • Truncate Pest dataset labels beyond 3 items with ellipsis to match TeamCity output

Refactored

  • Unify all dataset logic (parsing, label generation, definition creation) into a single DatasetExpander singleton, replacing scattered helpers across utils.ts and TestDefinitionBuilder.ts
  • Add deduplication for identical dataset labels with #N suffixes

v3.9.30

Choose a tag to compare

@recca0120 recca0120 released this 28 Feb 10:10

Removed

  • Remove phpunit.showAfterExecution setting — test output now displays in VS Code's native Test Results Panel. Use VS Code's built-in testing.openTesting setting to control when the panel opens. (#398)

v3.9.29

Choose a tag to compare

@recca0120 recca0120 released this 27 Feb 21:43

Added

  • Add subscript access expression ($v[0]) support for dataset static analysis, enabling conditional yield patterns in data provider loops