with one click
testing-workflows
Run, debug, and structure tests for this Go project (unit + integration), including generation prerequisites. Use when changing domain logic, repositories, HTTP handlers, or migrations.
Menu
Run, debug, and structure tests for this Go project (unit + integration), including generation prerequisites. Use when changing domain logic, repositories, HTTP handlers, or migrations.
| name | testing-workflows |
| description | Run, debug, and structure tests for this Go project (unit + integration), including generation prerequisites. Use when changing domain logic, repositories, HTTP handlers, or migrations. |
| license | MIT |
| compatibility | Requires bash, git, Go, and make. |
| metadata | {"repo":"mjrwtf","runner":"github-copilot-cli","version":1.3} |
| allowed-tools | Bash(git:*) Bash(make:*) Bash(go:*) Read |
make targets when available; fall back to direct CLI commands when needed.make test
make test-unit
make test-integration
make generate
go test -v ./path/to/pkg
DATABASE_URL is correct and migrations are applied (for integration setups).Run mjr.wtf locally using Docker Compose (SQLite), including migrations, logs, and teardown.
Operate and validate mjr.wtf observability endpoints (/health, /metrics) and logging-related behavior. Use when adding metrics, changing auth around metrics, or debugging production-like issues.
Apply project-specific security and privacy guardrails (auth, headers, rate limiting, logging). Use when touching authentication, request handling, metrics exposure, or anything that could leak sensitive data.
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.
Run and troubleshoot project code generation (sqlc + templ).
Configure mjr.wtf safely via environment variables and .env files.