vanniktech / gradle-android-junit-jacoco-plugin

Gradle plugin that generates JaCoCo reports from an Android Gradle Project
http://vanniktech.com
Apache License 2.0
400 stars 76 forks source link

Add extension options to toggle report formats #181

Closed bskim45 closed 4 years ago

bskim45 commented 4 years ago

This exposes a report format option to the extension class, so that users can enable/disable certain format.

junitJacoco {
  jacocoVersion = '0.8.2' // type String
  ignoreProjects = [] // type String array
  excludes // type String List
  includeNoLocationClasses = false // type boolean
  includeInstrumentationCoverageInMergedReport = false // type boolean
  xml.enabled = true
  csv.enabled = true
  html.enabled = true
}
codecov[bot] commented 4 years ago

Codecov Report

Merging #181 into master will increase coverage by 0.33%. The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #181      +/-   ##
============================================
+ Coverage     84.15%   84.49%   +0.33%     
- Complexity       44       45       +1     
============================================
  Files             2        3       +1     
  Lines           183      187       +4     
  Branches         24       24              
============================================
+ Hits            154      158       +4     
  Misses           21       21              
  Partials          8        8              
Impacted Files Coverage Δ Complexity Δ
...ktech/android/junit/jacoco/GenerationPlugin.groovy 84.06% <100.00%> (ø) 43.00 <0.00> (ø)
...h/android/junit/jacoco/JunitJacocoExtension.groovy 100.00% <100.00%> (ø) 1.00 <0.00> (ø)
...anniktech/android/junit/jacoco/ReportConfig.groovy 100.00% <100.00%> (ø) 1.00 <1.00> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5f08ba5...511db4c. Read the comment docs.