Skip to content

[Spike] Investigate Code Coverage Changes in Registry Support #1453

@Jdubrick

Description

@Jdubrick

Which area/kind this issue is related to?

/area registry

Issue Description

As discussed in the comments in devfile/registry-support#199 the Code Coverage report is being severely impacted by any changes that require generated code files to grow in content. These generated code files should be excluded as they are not testable by us. As part of the above PR there was an addition to add files ending in .gen.go to be excluded from the coverage report, however, the reports are still failing because it is not changing the previous reports. This is causing the report to be expecting those files to be covered, even if we are now ignoring them.

Investigation will need to be done into Code Coverage to see if there is a way to either remove those generated files from previous reports, or force it to ignore them moving forward.

Code Coverage Report
Change For Exclusion

Acceptance Criteria

  • Find possible solutions to solving the issue of code coverage reports incorrectly looking for coverage for generated code files in registry-support

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/registryDevfile registry for stacks and infrastructurelifecycle/rottenRotten items. These items have been stale for 60 days and are now closed.lifecycle/staleStale items. These items have not been updated for 90 days.

    Type

    No type

    Projects

    Status

    Done ✅

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions