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

cweill / gotests / 18756373445
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 23 Oct 2025 05:15PM UTC
Jobs 1
Files 14
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

23 Oct 2025 05:14PM UTC coverage: 94.232% (-2.0%) from 96.272%
18756373445

Pull #194

github

cweill
feat(ai): add min/max range for AI test case generation

Replace fixed `-ai-cases` flag with flexible `-ai-min-cases` and
`-ai-max-cases` flags (defaults: 3-10). This allows users to specify
either a fixed number of test cases (min = max) or let the AI generate
a variable number within a range.

Breaking changes:
- Removed `-ai-cases` flag
- Replaced with `-ai-min-cases` (default: 3) and `-ai-max-cases` (default: 10)

Updates:
- Config struct now uses MinCases/MaxCases instead of NumCases
- CLI validates that min >= 1, max <= 100, and min <= max
- Updated prompts to handle both fixed and range scenarios
- Updated all tests to use new configuration structure
- Enhanced README with complete example and range usage examples

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

Co-Authored-By: Claude <noreply@anthropic.com>
Pull Request #194: feat: AI-powered test case generation

690 of 753 new or added lines in 10 files covered. (91.63%)

1552 of 1647 relevant lines covered (94.23%)

1320.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
98.36
internal/ai/prompt.go
3
98.01
-0.94% internal/goparser/goparser.go
5
86.73
3.13% internal/output/options.go
8
93.44
internal/ai/prompt_go.go
20
88.24
internal/ai/ollama.go
24
86.05
internal/ai/parser_go.go
Jobs
ID Job ID Ran Files Coverage
1 18756373445.1 23 Oct 2025 05:15PM UTC 14
94.23
GitHub Action Run
Source Files on build 18756373445
  • Tree
  • List 14
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #194
  • PR Base - develop (#18725169102)
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