Skip to content

Reports test coverage only of code changed within a feature branch

Notifications You must be signed in to change notification settings

bcorrigan/bracov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bracov

Tells you coverage percentage only of current branch.

Works out the lines changes in the current branch by diffing against master, then extract those lines from the jacoco report and calculate coverage statistics of only that branch.

  • Only for java maven projects
  • Requires jacoco set up in target project and building report into target/site/jacoco
  • Requires "git" on $PATH
  • Takes one argument - the location of the project root
  • Writes the coverage percentage to STDOUT

Example usage

$ java -jar bracov-0.1.0-standalone.jar ~/workspace/myproject

About

Reports test coverage only of code changed within a feature branch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published