Claude-skill-registry integration-testing-http
Run and extend the end-to-end HTTP integration tests (SQLite in-memory) for mjr.wtf, covering auth, create/list/delete, redirects, and analytics. Use when changing handlers, middleware, or API contracts.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/integration-testing-http" ~/.claude/skills/majiayu000-claude-skill-registry-integration-testing-http && rm -rf "$T"
manifest:
skills/data/integration-testing-http/SKILL.mdsource content
Tooling assumptions
- Use a terminal runner with bash and git available.
- Prefer
targets when available; fall back to direct CLI commands when needed.make
Run
make test-integration
Targeted runs:
go test -v -run TestE2E ./internal/infrastructure/http/server/ go test -v -run TestAPI ./internal/infrastructure/http/server/
What to update when adding/changing endpoints
- Add/adjust OpenAPI (
) and validate it.openapi.yaml - Update integration tests to assert:
- status codes
- auth requirements (missing/invalid token)
- response JSON schema fields
- redirect behavior and analytics side effects
Reference
See
docs-site/src/content/docs/operations/integration-testing.md for the current suite structure and scenarios.