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
- right click on test class / test method
 - coverage as...
 - junit test
 
Comments
Post a Comment