Unit tests cover internal/client (httptest) and internal/convert (golden regression suite), but the command flows are only exercised manually.
Add command-level integration tests against an httptest mock Confluence for:
update: title lookup + page_id write-back, mtime skip vs. --force, attachment sync, page-width assert.
create: two-phase validation, parents-first topological order, frontmatter write-back.
fix: reconcile changes and the "already consistent" no-op (no file write).
info: metadata rendering + --properties.
Also fill gaps in internal/client method coverage (e.g. CreatePage/UpdatePage/GetUser). Consider a shared mock-server test helper.
Unit tests cover
internal/client(httptest) andinternal/convert(golden regression suite), but the command flows are only exercised manually.Add command-level integration tests against an
httptestmock Confluence for:update: title lookup +page_idwrite-back, mtime skip vs.--force, attachment sync, page-width assert.create: two-phase validation, parents-first topological order, frontmatter write-back.fix: reconcile changes and the "already consistent" no-op (no file write).info: metadata rendering +--properties.Also fill gaps in
internal/clientmethod coverage (e.g.CreatePage/UpdatePage/GetUser). Consider a shared mock-server test helper.