Skip to content

test: add comprehensive unit tests for ticktick, output, and domain packages#18

Merged
JeelyWu merged 1 commit into
masterfrom
test/more-test
May 13, 2026
Merged

test: add comprehensive unit tests for ticktick, output, and domain packages#18
JeelyWu merged 1 commit into
masterfrom
test/more-test

Conversation

@JeelyWu
Copy link
Copy Markdown
Owner

@JeelyWu JeelyWu commented May 13, 2026

Summary

  • ticktick: add tests for focus, habit, projects, tasks HTTP clients and DTO mapping functions (coverage: 13.7% -> 85.3%)
  • output: add tests for all table formatters and time formatting (coverage: 8.3% -> 100%)
  • domain: add tests for errors, filter, focus, habit types and expand existing task/timeparse tests (coverage: 22.2% -> 100%)

Test plan

  • All new tests pass: go test ./...
  • Coverage verified with go test -cover ./...

🤖 Generated with Claude Code

…ackages

- ticktick: add tests for focus, habit, projects, tasks HTTP clients
  and DTO mapping functions (coverage: 13.7% -> 85.3%)
- output: add tests for all table formatters and time formatting
  (coverage: 8.3% -> 100%)
- domain: add tests for errors, filter, focus, habit types
  and expand existing task/timeparse tests (coverage: 22.2% -> 100%)

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@JeelyWu JeelyWu merged commit d40b899 into master May 13, 2026
1 check passed
@JeelyWu JeelyWu deleted the test/more-test branch May 16, 2026 14:24
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