-
Notifications
You must be signed in to change notification settings - Fork 383
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#3517] improvement(client-python): Add Coverage as python test cover…
…age tool (#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: #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]>
- Loading branch information
1 parent
2113efd
commit 17ed48b
Showing
3 changed files
with
40 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,4 @@ dataclasses-json | |
pylint | ||
black | ||
twine | ||
coverage |