- Now uses global php if not set at
phpunit.php
(previouslyphpunit.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).
- Add command
phpunit.RerunLastCommand
. Will run the last command again and can be bound to hotkey.
- Bugfix: Function tests again allows
@test
docblocks and not justtest*
prefix.
- 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: Make sure the output channel is shown on test run.
-
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.