ViM plug-in to visualize your code coverage in real time line-by-line.
bmallred d37e1c8058 changed symbol characters to regular ASCII | 10 jaren geleden | |
---|---|---|
examples | 10 jaren geleden | |
plugin | 10 jaren geleden | |
README.md | 10 jaren geleden |
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.git
Restart vim
and then:
:Helptags
Once help tags have been generated, you can view the manual with
:help umbrella
-
Using 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.