OpenParable
Skip to content
← Back to skills

Test Runner

Testing & Quality
test-runner

Test Runner is an Agent Skill for testing & quality published in the pilinux/gorest repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Run and triage Go tests with correct environment handling; produce compact, actionable failure summaries.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/pilinux/gorest/blob/HEAD/.agents/skills/test-runner/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/test-runner, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Test Runner

When to Use

  • Validate changes with unit/integration tests or triage failing test runs.

Rules

  • Use source setTestEnv.sh when environment variables are required.
  • Focus on the first actionable failure line and include package + test name.
  • Prefer targeted test runs (-run) over full-suite when iterating.

Commands

  • Full suite (with test env): source setTestEnv.sh && go test -v -cover ./...
  • Single package: source setTestEnv.sh && go test -v -cover ./lib/...
  • Single test: source setTestEnv.sh && go test -v -run TestHashPass ./lib/...

Output

  • Result: pass or fail.
  • Failures: package, test name, first actionable error lines.
  • Next: 1-3 focused suggestions (narrow test, inspect file, add mock).

Related Skills

  • logs-repro-harness, linter-runner, db-infra-mocks