Runs unit tests and code coverage within the project.
There seems to be a plethora of ways to run unit tests and provide code coverage. It is fine to have a pretty print out showing what areas need more eyes on them but we can do better. By providing quicker feedback the aim is to minimize errors before committing as well as maximizing our testable code base.
Using pathogen.vim
cd ~/.vim/bundle
git clone git://github.com/revolvingcow/vim-umbrella.gitRestart vim and then:
:HelptagsOnce help tags have been generated, you can view the manual with
:help umbrellaUsing vundle
Append the plugin to the list of existing bundles:
Bundle "revolvingcow/vim-umbrella"Then quit (:q) and go back in to vim and run :BundleInstall
:Umbrella :UmbrellaRefresh :UmbrellaClear nnoremap <F7> :<C-U>Umbrella<CR>
...Umbrella is licensed under the same terms as Vim itself (see :help license).
Many thanks go to syntastic and makeshift. Both of these provided a great template to extend on.