Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Later
-
None
-
None
-
None
Description
Oak has a coverage profile based on jacoco. This is currently not enabled by default. It would be good to have a CI profile with coverage enabled and collect the coverage data over time via Coverall. Coveralls.io offers a useful interface to review what are the crytical parts no covered in order to evaluate what tests write in order to rise up the coverage fastly and is free for open source projects.
For Maven based project it can be done by coveralls-maven-plugin [2] and then we can add a nice badge for coverage!. The plugin requires a token key which can be encrypted for Travis [3]. Most likely for Apache Jenkins we can specify the key in build setup
[1] https://coveralls.io/
[2] https://github.com/trautonen/coveralls-maven-plugin
[3] https://docs.travis-ci.com/user/encryption-keys/