Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试在 VIM 中运行 phpunit 测试。因为我没有找到任何有用的插件,所以我决定在我的 .vimrc 中放一个简单的行
autocmd FileType php noremap <Leader>x :w!<CR>:!phpunit %<CR>
问题是我得到
shell returned 255
安装 PHPUnit 的结果。
我做错了什么?
有一个插件:PHPUnit runner for Vim。