← Back to list

integration-testing-http
by matt-riley
Personal URL shortening service - Entirely written by Copilot
⭐ 0🍴 0📅 Jan 23, 2026
SKILL.md
name: integration-testing-http description: 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. license: MIT compatibility: Requires Go, make, and generated code. metadata: repo: mjrwtf runner: github-copilot-cli version: 1.1 allowed-tools: Bash(git:) Bash(make:) Bash(go:*) Read
Tooling assumptions
- Use a terminal runner with bash and git available.
- Prefer
maketargets when available; fall back to direct CLI commands when needed.
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 (
openapi.yaml) and validate it. - 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.
Score
Total Score
60/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
✓LICENSE
ライセンスが設定されている
+10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon