Sage-Bionetworks / sage-monorepo

Where OpenChallenges, Schematic, and other Sage open source apps are built
https://sage-bionetworks.github.io/sage-monorepo/
Apache License 2.0
23 stars 12 forks source link

[Task] Increase the coverage of OC organization service to >50% #2505

Open mdsage1 opened 9 months ago

mdsage1 commented 9 months ago

What product(s) is this feature for?

OpenChallenges

Description

No response

Anything else?

No response

Code of Conduct

mdsage1 commented 8 months ago

02-27-2024 Update

PR #2536 addresses model/entity and has increased overall Jacoco coverage from 48% to 65%. Initial model/entity coverage: image Current Jacoco coverage after writing unit tests for Challenge Contribution Entity: image

All tests executing as planned, but the CI pr test, which failed after syncing the upstream changes to my repo.

To Do:

  1. Write additional unit tests targeted at improving coverage for Organization Category Entity.
  2. Confirm the level of improvement as a result then move to writing additional unit tests until organization service Sonar coverage is > 50%.

Blockers:

CI pr test failing. I will work w/ @tschaffter to resolve this issue.

tschaffter commented 8 months ago

Added to Backlog