• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

CyberDuck79 / duckfile / 17277502093
77%
main: 80%

Build:
Build:
LAST BUILD BRANCH: dependabot/go_modules/github.com/spf13/cobra-1.10.2
DEFAULT BRANCH: main
Ran 27 Aug 2025 08:07PM UTC
Jobs 1
Files 25
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Aug 2025 08:06PM UTC coverage: 76.628% (+3.6%) from 72.988%
17277502093

Pull #55

github

CyberDuck79
feat: add comprehensive CLI command testing

- Add test coverage for init command and wizard functionality
- Add test coverage for add command with error scenarios
- Add subprocess testing for main function coverage
- Implement test seams in init.go and add.go for better testability
- Create mock patterns for interactive CLI input simulation
- Improve overall test coverage from 71.1% to 76.1%
- Improve cmd/duck package coverage from 54.2% to 68.1%

New test files:
- cmd/duck/init_test.go: Tests init command and wizard logic
- cmd/duck/wizard_test.go: Tests interactive target wizard
- cmd/duck/add_test.go: Tests add command functionality
- cmd/duck/main_test.go: Subprocess testing for main function

All tests passing with comprehensive coverage of CLI interactions.
Pull Request #55: feat: Add comprehensive CLI command testing to improve coverage

7 of 7 new or added lines in 2 files covered. (100.0%)

1259 of 1643 relevant lines covered (76.63%)

10.94 hits per line

Jobs
ID Job ID Ran Files Coverage
1 17277502093.1 27 Aug 2025 08:07PM UTC 25
76.63
GitHub Action Run
Source Files on build 17277502093
  • Tree
  • List 25
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #55
  • PR Base - main (#17276858320)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc