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

raravena80 / ya
78%
main: 78%

Build:
Build:
LAST BUILD BRANCH: feat/missing-features-and-test-coverage
DEFAULT BRANCH: main
Repo Added 30 Oct 2017 04:17AM UTC
Files 9
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 feat/missing-features-and-test-coverage
branch: feat/missing-features-and-test-coverage
CHANGE BRANCH
x
Reset
  • feat/missing-features-and-test-coverage
  • add-go-report
  • add-logo
  • add-newline-to-result
  • add-noperm-test
  • add-version
  • change-port-to-int
  • change-timeout-to-int
  • ci/add-goveralls-coverage-upload
  • circle
  • circle-fixes
  • cleanup
  • command-test-rename
  • contrib
  • dockerfile
  • enhancements
  • examples-readme
  • exec-result
  • feat/security-quality-improvements
  • fix-build
  • fix-error-msg
  • fix-options
  • godeps
  • godoc
  • improve-testcoverage
  • large-refactor
  • linter
  • main
  • master
  • minor-fix
  • more-cleanup
  • output-change
  • readme
  • readme-spec
  • recursive-scp
  • refactoring
  • renaming
  • renaming-run
  • scp-changes
  • standarize-return
  • target-scp-fix
  • testcoverage
  • timeout-fixes
  • usage
  • version-fixes

21 Jan 2026 05:27AM UTC coverage: 77.576% (-8.6%) from 86.128%
184

Pull #58

circleci

raravena80
feat: Add missing features and improve test coverage

Add new CLI features including connection timeout configuration, output
formatting options, dry-run mode, host pattern filtering, and progress
indicators. Also improve test coverage from 79.4% to 82.5% for the cmd
package through dependency injection for previously untestable code.

Features added:
- Connection timeout overrides (connect-timeout, command-timeout flags)
- Output format selection (text, json, yaml, table)
- Dry-run mode for previewing operations
- Host pattern matching with include/exclude filters
- Progress indicator option for file transfers

Bug fixes:
- Fix SCP flag binding bug in cmd/scp.go (flags were bound to wrong
  viper keys)

Testing improvements:
- Add dependency injection for os.Exit and fmt.Println to make
  Execute() function testable (0% → 100% coverage)
- Add comprehensive unit tests for new features
- Add tests for formatters (TextFormatter, JSONFormatter)
- Add tests for host pattern matching (matchesPattern, shouldIncludeHost,
  filterHosts)
- Add tests for new option setters

Coverage improvements:
- cmd package: 79.4% → 82.5%
- Execute function: 0% → 100% (previously untestable due to os.Exit)
- common package: 97.6% (maintained)

Signed-off-by: Ricardo Aravena <raravena80@gmail.com>
Pull Request #58: feat: Add missing features and improve test coverage

154 of 198 new or added lines in 5 files covered. (77.78%)

52 existing lines in 4 files now uncovered.

512 of 660 relevant lines covered (77.58%)

0.88 hits per line

Relevant lines Covered
Build:
Build:
660 RELEVANT LINES 512 COVERED LINES
0.88 HITS PER LINE
Source Files on feat/missing-features-and-test-coverage
  • Tree
  • List 9
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
184 feat/missing-features-and-test-coverage feat: Add missing features and improve test coverage Add new CLI features including connection timeout configuration, output formatting options, dry-run mode, host pattern filtering, and progress indicators. Also improve test coverage from 79.4% ... Pull #58 21 Jan 2026 05:29AM UTC raravena80 circleci
77.58
See All Builds (114)
  • 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

© 2026 Coveralls, Inc