Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add a script to estimate unit test coverage #3143

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

hisImminence
Copy link
Contributor

@hisImminence hisImminence commented Mar 9, 2025

Which problem does the PR fix?

Trying to estimate our unit test coverage by a self-made script (used heavily copilot 🎉 ):

  • It takes all config options from the values.yaml that are flagged with @params or @extra
  • It takes all config options set in our unit tests
  • Matches the 2 lists
  • Generate an output:
    • print out unmatched values of the values.yaml
    • print out unmatched values of the unit test
    • Calculates test scores:
image

The result looks like follows:

What's in this PR?

Checklist

Please make sure to follow our Contributing Guide.

Before opening the PR:

  • In the repo's root dir, run make go.update-golden-only.
  • There is no other open pull request for the same update/change.
  • Tests for charts are added (if needed).
  • In-repo documentation are updated (if needed).

After opening the PR:

  • Did you sign our CLA (Contributor License Agreement)? It will show once you open the PR.
  • Did all checks/tests pass in the PR?

@github-actions github-actions bot added the version/alpha Camunda applications/cycle version (this is a pointer to alpha) label Mar 9, 2025
@hisImminence hisImminence marked this pull request as draft March 9, 2025 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
version/alpha Camunda applications/cycle version (this is a pointer to alpha)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant