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

[FEATURE] Standardize, setup, report, and increase test coverage #99

Open
Tracked by #30
Xtansia opened this issue Sep 14, 2022 · 2 comments
Open
Tracked by #30

[FEATURE] Standardize, setup, report, and increase test coverage #99

Xtansia opened this issue Sep 14, 2022 · 2 comments

Comments

@Xtansia
Copy link
Collaborator

Xtansia commented Sep 14, 2022

Setup code coverage, once reporting from CI/CD analyze the test gap and fill it.

See the meta issue opensearch-project/opensearch-clients#30 for details.

@Yury-Fridlyand
Copy link
Collaborator

I did an investigation in this area recently.
My findings so far:

@Xtansia
Copy link
Collaborator Author

Xtansia commented Sep 15, 2022

From my past experience with SonarQube/SonarCloud, it does not collect code coverage itself, you'd use something like https://github.com/coverlet-coverage/coverlet or https://www.jetbrains.com/dotcover/ to do the actual collection, and then submit the coverage stats to SonarQube/SonarCloud for reporting and use in quality gates.

It appears the clients and other OpenSearch projects already reporting coverage statistics are using codecov.io as the reporting service: https://github.com/search?l=YAML&p=1&q=org%3Aopensearch-project+codecov&type=Code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants