test: add unit tests for terway package#861
Merged
BSWANG merged 1 commit intoAliyunContainerService:mainfrom Jul 29, 2025
Merged
test: add unit tests for terway package#861BSWANG merged 1 commit intoAliyunContainerService:mainfrom
BSWANG merged 1 commit intoAliyunContainerService:mainfrom
Conversation
Collaborator
l1b0k
commented
Jul 29, 2025
- Add unit tests for tree implementation in terway-cli
- Add unit tests for k8s package, including pod existence checks, local pod retrieval, and bandwidth annotations
- Add unit tests for version package, including version adjustment and command parsing
- Update existing tests for credential clients and vswitch
- Add unit tests for tree implementation in terway-cli - Add unit tests for k8s package, including pod existence checks, local pod retrieval, and bandwidth annotations - Add unit tests for version package, including version adjustment and command parsing - Update existing tests for credential clients and vswitch Signed-off-by: l1b0k <libokang.lbk@alibaba-inc.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #861 +/- ##
==========================================
+ Coverage 35.69% 37.97% +2.27%
==========================================
Files 130 130
Lines 18919 18923 +4
==========================================
+ Hits 6754 7186 +432
+ Misses 11407 10928 -479
- Partials 758 809 +51
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
BSWANG
approved these changes
Jul 29, 2025
cursor bot
pushed a commit
that referenced
this pull request
Sep 7, 2025
test: add unit tests for terway package
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.