checkvist-api is a type-safe, idiomatic Go client library for the Checkvist (https://checkvist.com/) API.
Find a file
Oliver Jakoubek e2d0f2299c Add unit tests for Tasks
Create tasks_test.go with comprehensive tests:
- TestTasks_List: list all tasks in checklist
- TestTasks_Get: get single task by ID
- TestTasks_Create: create basic task
- TestTasks_Create_WithBuilder: create task with all options
- TestTasks_Update: update task properties
- TestTasks_Delete: delete task
- TestTasks_Close: mark task as completed
- TestTasks_Reopen: reopen closed task
- TestTasks_Invalidate: invalidate task
- TestDueDate_Parsing: table-driven due date parsing tests
- TestTaskBuilder: builder pattern validation

Add testdata/tasks/ fixtures:
- list.json: sample task list
- single.json: single task response

All 11 tests pass using httptest.Server mocking.

Closes checkvist-api-v2f
2026-01-14 13:46:08 +01:00
.beads Add unit tests for Tasks 2026-01-14 13:46:08 +01:00
magefiles Set up Mage build targets 2026-01-14 13:33:14 +01:00
testdata Add unit tests for Tasks 2026-01-14 13:46:08 +01:00
.gitattributes Initial commit 2026-01-14 12:42:00 +01:00
.gitignore Initial commit 2026-01-14 12:42:00 +01:00
AGENTS.md Initial commit 2026-01-14 12:42:00 +01:00
CHANGELOG.md Create CHANGELOG following Keep a Changelog format 2026-01-14 13:37:05 +01:00
checklists.go Implement Checklist operations 2026-01-14 13:38:13 +01:00
checklists_test.go Add unit tests for Checklists 2026-01-14 13:42:05 +01:00
client.go Implement HTTP request helper with retry logic 2026-01-14 13:28:03 +01:00
client_test.go Add unit tests for Client and Auth 2026-01-14 13:35:44 +01:00
errors.go Implement error types and sentinel errors 2026-01-14 13:23:48 +01:00
filter.go Initial commit 2026-01-14 12:42:00 +01:00
go.mod Initial commit 2026-01-14 12:42:00 +01:00
LICENSE Initial commit 2026-01-14 12:42:00 +01:00
models.go Implement data models for Checkvist API entities 2026-01-14 13:22:29 +01:00
notes.go Implement Note operations 2026-01-14 13:40:37 +01:00
options.go Implement Client struct with functional options 2026-01-14 13:25:03 +01:00
tasks.go Implement Task operations 2026-01-14 13:39:37 +01:00
tasks_test.go Add unit tests for Tasks 2026-01-14 13:46:08 +01:00