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

cweill / gotests / 18670708327
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 21 Oct 2025 02:18AM 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 02:16AM UTC coverage: 84.497% (-2.9%) from 87.423%
18670708327

push

github

cweill
Add -version flag to display version information

Resolves #133

Users can now check the version of gotests they're running with:
  $ gotests -version

The output includes:
- Module version (from build info)
- Go version used to build
- Git commit hash (when available)
- Build timestamp (when available)

This helps users identify which version they're using, especially when
troubleshooting issues or verifying they have the latest release.

Implementation:
- Added -version flag to gotests/main.go
- Uses runtime/debug.ReadBuildInfo() to extract version metadata
- Updated README.md with flag documentation

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

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

0 of 25 new or added lines in 1 file covered. (0.0%)

22 existing lines in 4 files now uncovered.

714 of 845 relevant lines covered (84.5%)

816.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
25
10.2
-10.63% gotests/main.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
10.2
-10.63% gotests/main.go
2
96.9
0.02% gotests.go
9
69.23
0.34% gotests/process/process.go
10
77.05
-5.09% internal/output/options.go
Jobs
ID Job ID Ran Files Coverage
1 18670708327.1 21 Oct 2025 02:18AM UTC 11
84.5
GitHub Action Run
Source Files on build 18670708327
  • Tree
  • List 11
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #18670708327
  • 5252e0b9 on github
  • Prev Build on develop (#18670462948)
  • Next Build on develop (#18670847658)
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