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

[#3517] improvement(client-python): Add Coverage as python test coverage tool #3545

Merged
merged 1 commit into from
May 24, 2024

Conversation

noidname01
Copy link
Collaborator

What changes were proposed in this pull request?

  • Merge test coverage into Gradle tasks
  • Generate html report for both unit and integration tests (htmlcov/index.html under their folders)

The generated html report is as follows:

Unit Test Covergae:
image

Integration Test Coverage:
image

Why are the changes needed?

Fix: #3517

Does this PR introduce any user-facing change?

No

How was this patch tested?

./gradlew clients:client-python:test

… coverage tool (apache#3541)

### What changes were proposed in this pull request?

* Merge test coverage into Gradle tasks
* Generate html report for both unit and integration tests
(`htmlcov/index.html` under their folders)

The generated html report is as follows:

Unit Test Covergae:
<img width="1202" alt="image"
src="https://github.com/datastrato/gravitino/assets/55401762/e58d6513-e574-4b25-a8e7-81622bd46431">

Integration Test Coverage:
<img width="1201" alt="image"
src="https://github.com/datastrato/gravitino/assets/55401762/31a37db5-528f-4810-af8e-ca3ec21bc6de">


### Why are the changes needed?

Fix: apache#3517

### Does this PR introduce _any_ user-facing change?

No

### How was this patch tested?

`./gradlew clients:client-python:test`

---------

Co-authored-by: TimWang <[email protected]>
@jerryshao jerryshao merged commit 2c57aeb into apache:branch-0.5 May 24, 2024
9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants