Skip to content

Releases: elonmallin/vscode-phpunit

Bug fix path runner and spaces in path

01 May 14:32
Compare
Choose a tag to compare
  • Bugfix: Handle space in path for the filter arg of phpunit.
  • Bugfix: Use the phpunit.php config if the path is found.

Problems pane, color output, docker and custom command

02 Mar 11:51
Compare
Choose a tag to compare
  • BREAKING CHANGE Updated vscode engine version required to latest 1.27.0.
  • Add color output and show failed tests in problems pane by running a task using a problem matcher.
  • Add config property phpunit.docker.image for choosing docker image for DockerDriver.
  • Add DockerContainerDriver to find running containers and pick from list.
  • Add phpunit.docker.container to set running container to use for DockerContainerDriver.
  • Add phpunit.command config for running custom commands in place of php. Such as custom docker commands.
  • Add phpunit.paths to map paths for virtual environments. String replace with regex will be used for all paths in this config. Ex config:
{
    "/local/path": "/vitual/path",
    "/second/local/path": "/second/virtual/path"
}

Run php through docker and stop test command

23 Feb 17:14
Compare
Choose a tag to compare
  • Can now run php through docker. Will look for phpunit in all normal places (path, composer, phar).
  • Add Stop running phpunit command (kill process).
  • Bugfix: Prevent output window from stealing focus.
  • Update vscode, typescript and other packages.

Auto find phpunit for composer and .phar files

01 Sep 16:40
Compare
Choose a tag to compare
  • Now uses global php if not set at phpunit.php (previously phpunit.execPath)
    • phpunit.execPath still works for backwardscompatibility but is deprecated.
  • Now tries to find phpunit in the project folder (composers vendor dir and .phar files).
  • Will clear the output after each run (option: clearOutputOnRun default=true).

Allow @test docblocks again

11 Sep 19:55
Compare
Choose a tag to compare
  • Bugfix: Allow @test docblocks again and not only test* prefix.

No quick pick flag and instant run bug fix

11 Sep 18:44
Compare
Choose a tag to compare
  • Bugfix: Run the instant tests reliably if the cursor is in the right place. Not every other try.
  • Add config option preferRunClassTestOverQuickPickWindow (default: false). Set to true to never show the quick pick window and just test the whole class if the cursor is on anything other than a function name.

Bugfix: open output channel on test run

11 Sep 16:29
Compare
Choose a tag to compare
  • Bugfix: open output channel on test run.

Quick pick and multi project

10 Sep 14:45
Compare
Choose a tag to compare
  • This release shows the quick pick window to select a test when you run "PHPUnit Test" not directly on a function or class. If you have the cursor directly on the class or function name it will run instantly just like in previous releases.
  • Multiple projects can be used with the "PHPUnit Test Directory" command since full paths will now be used to locate the directory.

Update vscode engine and multi project

24 Aug 03:00
Compare
Choose a tag to compare

Chores to update vscode engine, typescript, es5->es6 target and multi project support.

Stable relative path fix and nice name update

09 Sep 09:19
Compare
Choose a tag to compare
  • Fixed the relative path bug introduced by VSCode 1.5.0.
  • Nicer display name.