Skip to content

Fix branch test coverage in classes with 0% coverage and restore branch expected coverage back to 95% #186

Open
@GPortas

Description

@GPortas

The pre-commit hook was failing because it expected 95% branch coverage, but certain classes (GetCollection and GetCollectionFacets) were showing 0% branch coverage, even though we have test cases that should cover these branches.

To temporarily resolve this issue, we lowered the required branch coverage to 90% for the pre-commit hook to pass. However, we need to investigate the cause of this discrepancy, fix the issue, and restore the required branch coverage back to 95%

Screenshot 2024-09-03 at 12 22 19

Metadata

Metadata

Assignees

No one assigned

    Labels

    GREI Re-archGREI re-architecture-relatedSize: 10A percentage of a sprint. 7 hours.bugSomething isn't working

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions