I'm trying to run phpunit tests in VIM. Because I didn't found any useful plugins I decide to put a simple line in my .vimrc
autocmd FileType php noremap <Leader>x :w!<CR>:!phpunit %<CR>
The problems is that I get
shell returned 255
Insted of the results of PHPUnit.
What I'm doing wrong?
There's a plugin for this: PHPUnit runner for Vim.