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

cweill / gotests / 18673927619
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 21 Oct 2025 05:31AM UTC
Jobs 1
Files 11
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

21 Oct 2025 05:30AM UTC coverage: 81.144% (+1.9%) from 79.268%
18673927619

push

github

cweill
test: add comprehensive tests for internal/input package

Added unit tests for the internal/input package, which previously had
0% test coverage. The new tests cover all major functionality including
the recursive directory pattern feature (pkg/...).

Tests added:
- TestFiles_RecursivePattern: Tests the /... pattern for recursive directory walking
- TestFiles_SingleFile: Tests single file input
- TestFiles_Directory: Tests directory input (non-recursive)
- TestFiles_NonGoFile: Tests error handling for non-Go files
- Test_recursiveDirFiles: Direct tests for the recursive walker
- Test_isHiddenFile: Tests hidden file detection

Coverage improvements:
- internal/input package: 0.0% → 86.4%
- recursiveDirFiles function: 0.0% → 83.3%
- Files function: → 81.8%
- dirFiles function: → 90.0%
- file function: → 100.0%
- isHiddenFile function: → 100.0%

All tests verify correct behavior:
- Recursive patterns find files in subdirectories
- Test files (*_test.go) are excluded
- Hidden files and directories (.*) are skipped
- Non-Go files are rejected appropriately

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

865 of 1066 relevant lines covered (81.14%)

992.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 18673927619.1 21 Oct 2025 05:31AM UTC 11
81.14
GitHub Action Run
Source Files on build 18673927619
  • Tree
  • List 11
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18673927619
  • 11e7511d on github
  • Prev Build on develop (#18673866198)
  • Next Build on develop (#18674002814)
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