gradle - Using Jacoco in eclipse -


i using eclipse buildship plugin. have gradle project in build.gradle follows:

apply plugin: 'java' apply plugin: 'jacoco'  version = '1.0'  repositories {     mavencentral() }  dependencies {     testcompile group: 'junit', name: 'junit', version: '4.11' } 

the project understand how should unit testing. want use plugin jacoco code coverage tool. following command :

gradle clean test jacocotestreport 

now, need console write this.

how should write command in eclipse?
or
there alternative gui way in eclipse + builship plugin ?

i think best way see coverage in eclipse install eclemma plugin uses jacoco under hood. can

  1. right click on test class / test method
  2. coverage as...
  3. junit test

Comments

Popular posts from this blog

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -