Skip to content

Latest commit

 

History

History
36 lines (31 loc) · 1.92 KB

README.md

File metadata and controls

36 lines (31 loc) · 1.92 KB

jacoco-report-changes

Build Status Coverage Status Maven Central

This is an Apache Maven Plugin which allows the generation of coverage reports for your changed classes. This makes sense when you are working with feature branches and you need the coverage of only the changed classes. The reports are generated by the JaCoCo Maven Plugin internally.

Currently this plugin only works in conjunction with Git.

#####Configuring Your jacoco-report-changes Plugin:


<plugin>
    <groupId>de.ck35.maven.plugins</groupId>
    <artifactId>jacoco-report-changes</artifactId>
    <version>0.7.5</version>
        <executions>
            <execution>
                <phase>verify</phase>
                <id>report-changes</id>
                <goals>
                    <goal>report-changes</goal>
                </goals>
        </execution>
    </executions>
</plugin>

#####Optional Parameters:

Name Description
branchName The name of the branch used for git diff.
skipGenerationWhenNoChangesFound Determine if coverage report should be generated or not. If set to true and no changes were found (maybe because of an error) no report will be generated.

All other parameters from JaCoCo Plugin can also be used.