Vim-phpunit is a project mainly written in Vim Script, it's free.
vim plugin to run PHPUnit tests
Vim Plugin PHPUnit
this plugin allows you run tests directly from vim
just copy 'phpunit.vim' to your '$HOME/.vim/plugins' directry
There are defined three commands
:PhpUnit [path]
run phpunit with path. Path is not manadatory. If Path is not defined it vim-phpunit use
:PhpUnitSwitchFile
Open testfile for current file. Name of testfile is taken from curent path in following way:
version 0.1 doesn't care about path existence - it's your responsibility (maybe in next version)
:PhpUnitFile
run phpunit for current file. There is heuristic like :PhpUnitSwitchFile
eg.
[file] dir/file.php => [test]