-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: introduce coverage report/check (#18)
This change uses jacoco to add coverage report/check. Our current line coverage sits at ~70%. I set the minimum line coverage to 70% to ensure future changes align with such requirement. When we have CI enabled, new code that doesn't meet 70% coverage will fail build. Signed-off-by: Keran Yang <[email protected]> Co-authored-by: Vigith Maurice <[email protected]>
- Loading branch information
Showing
2 changed files
with
54 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This tells lombok this directory is the root, | ||
# no need to look somewhere else for java code. | ||
config.stopBubbling = true | ||
# This will add the @lombok.Generated annotation | ||
# to all the code generated by Lombok, | ||
# so it can be excluded from coverage by jacoco. | ||
lombok.addLombokGeneratedAnnotation = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters