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

cweill / gotests / 18736962549
94%
master: 94%

Build:
Build:
LAST BUILD BRANCH: develop
DEFAULT BRANCH: master
Ran 23 Oct 2025 03:52AM 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 03:50AM UTC coverage: 94.329% (-1.9%) from 96.272%
18736962549

Pull #194

github

cweill
fix(ai): improve E2E test determinism and use natural language test names

Changes:
- Remove exampleNames from prompt that was forcing specific test name patterns
- Add seed=42 to Ollama requests for deterministic output
- Rewrite E2E tests to use render package instead of CLI (enables code coverage)
- Add import formatting normalization to handle goimports behavior
- Update prompt to use natural language test names with spaces (e.g., "valid input" instead of "valid_input")
- Regenerate all 11 golden files with updated prompt

E2E test results: 9/11 tests passing deterministically on first attempt

Known issue: calculator_multiply and calculator_divide tests still fail all 10 attempts
despite seed=42. This suggests qwen2.5-coder:0.5b may not be fully deterministic for
receiver methods. Further investigation needed.

🤖 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

685 of 746 new or added lines in 10 files covered. (91.82%)

6 existing lines in 2 files now uncovered.

1547 of 1640 relevant lines covered (94.33%)

1325.96 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.6
2.99% internal/output/options.go
6
94.96
internal/ai/prompt_go.go
20
88.17
internal/ai/ollama.go
24
86.05
internal/ai/parser_go.go

Uncovered Existing Lines

Lines Coverage ∆ File
2
96.99
0.09% gotests.go
4
86.6
2.99% internal/output/options.go
Jobs
ID Job ID Ran Files Coverage
1 18736962549.1 23 Oct 2025 03:52AM UTC 14
94.33
GitHub Action Run
Source Files on build 18736962549
  • 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