tests: Add unit tests for project list command #692
+676
−60
Codecov / codecov/project
failed
Mar 17, 2026 in 1s
8.17% (-2.82%) compared to 60ad0bd
View this Pull Request on Codecov
8.17% (-2.82%) compared to 60ad0bd
Details
Codecov Report
❌ Patch coverage is 73.07692% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 8.17%. Comparing base (60ad0bd) to head (75ddf3f).
| Files with missing lines | Patch % | Lines |
|---|---|---|
| cmd/harbor/root/project/list.go | 79.16% | 8 Missing and 2 partials |
| pkg/views/project/list/view.go | 0.00% | 4 Missing |
Additional details and impacted files
@@ Coverage Diff @@
## main #692 +/- ##
=========================================
- Coverage 10.99% 8.17% -2.82%
=========================================
Files 173 265 +92
Lines 8671 13179 +4508
=========================================
+ Hits 953 1078 +125
- Misses 7612 11987 +4375
- Partials 106 114 +8 ☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.
🚀 New features to boost your workflow:
- ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
Loading