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

rm-hull / git-commit-summary / 18959541683 / 1
35%
main: 35%

Build:
DEFAULT BRANCH: main
Ran 31 Oct 2025 01:06AM UTC
Files 11
Run time 0s
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.1

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`.

108 of 324 relevant lines covered (33.33%)

0.36 hits per line

Source Files on job 18959541683.1
  • Tree
  • List 11
  • Changed 6
  • Source Changed 0
  • Coverage Changed 6
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 18959541683
  • 520731bc on github
  • Prev Job for on main (#18958829788.1)
  • Next Job for on main (#18959727907.1)
  • 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