Skip to content

Require 80% Code Coverage as Measured by JaCoCo for New Contributions #144

@ryans58

Description

@ryans58

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:

  1. 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.
  2. 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.

Image

Links

Link: #130

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions