Skip to content

docs: document the separate integration test module in CLAUDE.md#36

Merged
tas50 merged 1 commit into
mainfrom
docs/claude-md-token-savers
Jun 27, 2026
Merged

docs: document the separate integration test module in CLAUDE.md#36
tas50 merged 1 commit into
mainfrom
docs/claude-md-token-savers

Conversation

@tas50

@tas50 tas50 commented Jun 27, 2026

Copy link
Copy Markdown
Owner

The CLAUDE.md here is already thorough, but its Testing section only covers the cinctest unit harness. The one real gap: integration/ is a separate Go module (own go.mod, intentionally — it keeps the cinc-zero test dependency out of the graph for consumers of this package). That means the documented go test ./... from the root silently skips the integration tests.

This adds a bullet explaining:

  • how to run them: cd integration && go test ./... (~1s)
  • that they boot an in-memory cinc-zero and exercise the real wire protocol end-to-end (vs. the cinctest fake the unit tests use)
  • when to bother: transport, signing, or cookbook-upload changes

One bullet, docs only.

🤖 Generated with Claude Code

The Testing section only covered the cinctest unit harness. Integration
tests live in integration/, which is its own Go module (deliberately, so
the cinc-zero test dependency stays out of consumers' graphs) — so the
documented `go test ./...` silently skips them. Document how to run them
(cd integration && go test ./...) and that they boot an in-memory
cinc-zero for real end-to-end coverage.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@tas50 tas50 merged commit 373414d into main Jun 27, 2026
3 checks passed
@tas50 tas50 deleted the docs/claude-md-token-savers branch June 27, 2026 22:17
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