The Wayback Machine - https://web.archive.org/web/20221222140616/https://github.com/wsdjeg/JavaUnit.vim
Skip to content

wsdjeg/JavaUnit.vim

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
bin
 
 
 
 
 
 
 
 
 
 
 
 
 
 

###JavaUnit.vim

Join the chat at https://gitter.im/wsdjeg/JavaUnit.vim Build Status

requirement

  1. jdk

  2. artur-shaik/javacomplete2

  3. scrooloose/syntastic

also you can use my fork which provide gradle support, wsdjeg/syntastic

  1. Shougo/unite.vim

if you do not intstall this plugin,JavaUnit will show result in its own buffer instead of unite.

  1. tagbar

install

NeoBundle 'wsdjeg/JavaUnit.vim'
Plugin 'wsdjeg/JavaUnit.vim'

Command

JavaUnitExec

test the current methond(no need put the cursor on the methodName) 2015-11-16 23-40-05

JavaUnitExec [args ...]

test specification method

example JavaUnitExec testMethod1 testMethod2 testMethod3 ... 2015-11-16 23-40-25

JavaUnitTestMain

run the main methon of current class

also you can use JavaUnitTestAll,then will run all the testMethod in the current file 2015-11-16 23-40-43

support for maven project

JavaUnitTestMaven test current file

JavaUnitMavenTest

JavaUnitTestMavenAll test this project

JavaUnitMavenTestAll

Mappings

q close the JavaUnit buffer.