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

CyberDuck79 / duckfile
77%
main: 80%

Build:
Build:
LAST BUILD BRANCH: fix/sonarqube-code-quality-issues
DEFAULT BRANCH: main
Repo Added 10 Aug 2025 04:23PM UTC
Files 26
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

LAST BUILD ON BRANCH feature/cli-command-testing
branch: feature/cli-command-testing
CHANGE BRANCH
x
Reset
  • feature/cli-command-testing
  • 10-provide-allowdeny-list
  • 30-default-target-property-as-ref
  • 68-separated-targets-and-remotes-configurations
  • 7-verbose-and-debug-flags
  • 8-optional-sha256-checksum-pinning-for-the-template-file
  • chore/refactor-run-split-tests
  • dependabot/go_modules/github.com/spf13/cobra-1.10.1
  • dependabot/go_modules/github.com/spf13/pflag-1.0.10
  • dependabot/go_modules/github.com/spf13/pflag-1.0.9
  • dependencies-update
  • docs/remove-shallow-option
  • feat/add-emojis-to-info-messages
  • feat/config-flag
  • feat/security-config-files
  • feat/self-copy-rendered
  • feat/submodules-support
  • feat/two-tier-cache-refactor
  • feature/commit-hash-tracking
  • feature/enhance-init-add-wizard
  • feature/env-file-support
  • feature/environment-variables
  • feature/exec-command-conflict-resolution
  • fix-release-ci
  • fix/sonarqube-code-quality-issues
  • fix/wizard-validation-improvements
  • golangci-lint
  • improve-command-help-text
  • log-level
  • main
  • sync-exec-refacto
  • update-readme-fix-codecov

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

Relevant lines Covered
Build:
Build:
1643 RELEVANT LINES 1259 COVERED LINES
10.94 HITS PER LINE
Source Files on feature/cli-command-testing
  • Tree
  • List 25
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
17277502093 feature/cli-command-testing 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.... Pull #55 27 Aug 2025 08:07PM UTC CyberDuck79 github
76.63
17277398770 feature/cli-command-testing 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.... Pull #55 27 Aug 2025 08:03PM UTC CyberDuck79 github
76.63
See All Builds (107)
  • Repo on GitHub
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

© 2025 Coveralls, Inc