Skip to content

Draft: Enable branch coverage in simplecov for backend specs

Peter Leitzen requested to merge pl-simplecov-enable-branch-coverage into master

What does this MR do?

This MR enabled Branch coverage for simplecov for GitLab's spec suite. See https://gitlab.com/gitlab-org/gitlab/-/jobs/803833904/artifacts/browse/coverage/ for a live example.

Refs #263426 (comment 426293307)

Note, this change increases the size of the generated index.html from ~125Mb to ~143MB.

Screenshots

Coverage

Size of index.html

Before 125MB After 143MB
Screenshot_2020-10-12_coverage___Artifacts___rspec_coverage___784725220____Jobs___GitLab_org_GitLab Screenshot_from_2020-10-26_12-59-23

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • [-] Label as security and @ mention @gitlab-com/gl-security/appsec
  • [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Peter Leitzen

Merge request reports