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

rm-hull / git-commit-summary / 18959541683
35%

Build:
DEFAULT BRANCH: main
Ran 31 Oct 2025 01:06AM 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

31 Oct 2025 01:06AM UTC coverage: 33.333% (+33.3%) from 0.0%
18959541683

push

github

web-flow
test: Add unit tests & introduce dependency injection (#4)

* refactor(app): Introduce dependency injection

Refactor the core application logic to utilize interfaces for
Git and UI operations, allowing dependencies to be injected.

This enables comprehensive unit testing of the application flow
and state transitions, addressing the lack of existing tests.

*   Introduces `app.Git` and `app.UI` interfaces.
*   Adds `github.com/stretchr/testify` for assertion helpers.
*   Includes unit tests for `app`, `config`, and `llm_provider`.

* refactor: Move spinner logic to UI interface

The spinner implementation is now abstracted behind the `UIClient`
interface, decoupling the core application logic from the underlying
library (`github.com/briandowns/spinner`).

This improves separation of concerns and testability.

*   Introduced `StartSpinner`, `UpdateSpinner`, and `StopSpinner`
    methods on `UIClient`.
*   Implemented spinner management in `internal/ui/client.go`.

16 of 49 new or added lines in 7 files covered. (32.65%)

1 existing line in 1 file now uncovered.

108 of 324 relevant lines covered (33.33%)

0.36 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% internal/git/commit.go
1
0.0
0.0% internal/git/diff.go
1
0.0
0.0% internal/ui/text_area.go
5
0.0
0.0% main.go
9
0.0
internal/git/client.go
16
0.0
internal/ui/client.go

Uncovered Existing Lines

Lines Coverage ∆ File
1
0.0
0.0% main.go
Jobs
ID Job ID Ran Files Coverage
1 18959541683.1 31 Oct 2025 01:06AM UTC 11
33.33
GitHub Action Run
Source Files on build 18959541683
  • Tree
  • List 11
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 520731bc on github
  • Prev Build on main (#18958829788)
  • Next Build on main (#18959727907)
  • Delete
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