Skip to content

v3.10.1

Choose a tag to compare

@recca0120 recca0120 released this 29 Nov 05:47
4b334f8

Fixed

  • Refreshing the Test Explorer no longer keeps the file watchers of every previous reload in the extension's subscriptions (#617)
  • tree-sitter frees the memory of a file it fails to parse (#611)

Changed

  • Faster test discovery in large projects: classes are looked up by file, parent and trait instead of scanning every class. Indexing 5000 test files spends 0.22s instead of 2.5s in this step, and editing a shared base class finds the tests that depend on it in 4ms instead of 240ms (#612)
  • Coverage files of a run are read together (#618)
  • The README describes the offer to switch phpunit.phpunit to vendor/bin/pest when Pest refuses the PHPUnit binary

@vscode-phpunit/phpunit package

The package keeps every PHPUnit/Pest rule and no VS Code concept (#608–#610, #613–#616):

  • TestNode is { definition, groups, children }; sortText, canResolveChildren, tags and insertionSortText are removed, and the caller decides how to show the nodes
  • requiredPestBinary(output) reads the binary Pest asks for when it refuses the PHPUnit one
  • TestCommand.getCwd() is no longer public
  • The runner's event notifiers are a plain object built from the event names, no longer a Proxy that answered every property (including then)