Skip to content

v3.10.4

Latest

Choose a tag to compare

@recca0120 recca0120 released this 04 Dec 19:42
53bc7ae

Fixed

  • Links in the test output resolve a relative path from the project root, so they open the file in a Pest project whose phpunit.xml is not at the root (#639)

@vscode-phpunit/phpunit package

  • Breaking: TestCommandFactory is removed. Build a command with TestCommand.create(configuration, { cwd, folder, mode?, launch? }); new TestCommand(...) still works (#635, #641)
  • Breaking: Xdebug.setMode(mode, launchPort?) is now setMode(mode, launch?: { port?: number }). A given launch means an external listener owns the port, so no free port is picked (#640)
  • Breaking: XdebugDebug no longer has launchConfiguration, debugConfiguration() or debugTarget(). The debuggerConfig setting is interpreted only by the extension (#640)
  • Breaking: new Printer(phpUnitXML, format) is now new Printer(format); the result's file is already resolved against the project (#632)

Internal

  • The extension keeps one WorkspaceFolderContext per workspace folder, which attaches its own tests to the test explorer; acceptance tests now cover the single/multi-folder layout, documents opened after start, and runs outside every folder (#643, #644, #645)