Maintainers & contributors will enforce a minimum of 80% code coverage within any new contributions to the Fluxnova platform. Code coverage will be measured by JaCoCo (https://github.com/jacoco/jacoco, licensed under EPL 2.0), and both instructions coverage and branches coverage will need to be >= 80%.
Instructions to developers:
- As a requirement, JaCoCo unit test coverage analysis needs to be performed on all newly-contributed code, and the results need to be provided in all pull requests.
- Both the branches and instructions coverage levels should be >= 80%. See the example below for the HTML output produced by JaCoCo.
Contributors won't need to use SonarQube for instrumentation of test results.
Links
Link: #130