Skip to content

test(cli): cover updater version and public client - #174

Draft
Vittuu wants to merge 1 commit into
alvarorichard:devfrom
Vittuu:pr4-cli-updater-pkg
Draft

test(cli): cover updater version and public client#174
Vittuu wants to merge 1 commit into
alvarorichard:devfrom
Vittuu:pr4-cli-updater-pkg

Conversation

@Vittuu

@Vittuu Vittuu commented May 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add updater, version, and public client coverage with hermetic tests
  • add CLI seams needed to smoke version/help flows without depending on external state
  • keep release/update behavior under test with focused path and transport checks

Why

This slice closes the lightweight public-surface gaps after the flow PRs: updater logic, version handling, and the exported pkg/goanime client. It is a good independent review unit and avoids the heavier scraper/player packages.

Validation

  • go test ./internal/updater ./internal/version ./pkg/goanime -count=1
  • go test ./internal/updater ./internal/version ./pkg/goanime -cover -count=1
  • go build ./cmd/goanime
  • go run ./cmd/goanime --version

Notes

  • This remains draft while GitHub checks run.

@codacy-production

Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 2 minor

Alerts:
⚠ 2 issues (≤ 0 issues of at least minor severity)

Results:
2 new issues

Category Results
Documentation 2 minor

View in Codacy

🟢 Metrics 4 complexity · 0 duplication

Metric Results
Complexity 4
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@deepsource-io

deepsource-io Bot commented May 2, 2026

Copy link
Copy Markdown
Contributor

DeepSource Code Review

We reviewed changes in 39317fe...36b6e92 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
Go May 2, 2026 2:17a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant