Back to list
oornnery

test-runner

by oornnery

My custom agent and skills

0🍴 0📅 Jan 16, 2026

SKILL.md


name: test-runner description: Test execution, coverage analysis, and test failure debugging. Use for running tests, analyzing results, and fixing failures.

Test Runner Skill

Execute tests and analyze results.

Test Commands by Stack

Python (pytest)

# Quick run
uv run pytest -v -x

# With coverage
uv run pytest -v --cov=src --cov-report=term-missing

# Specific file/test
uv run pytest tests/test_module.py -v
uv run pytest -k "test_name" -v

# Parallel
uv run pytest -n auto

Node (pnpm)

# Quick run
pnpm test

# Watch mode
pnpm test --watch

# Coverage
pnpm test --coverage

Go

# Quick run
go test ./...

# Verbose
go test -v ./...

# Coverage
go test -cover ./...

Rust

# Quick run
cargo test

# Verbose
cargo test -- --nocapture

Analyzing Failures

Read the Error

1. What failed? (test name)
2. What was expected?
3. What was actual?
4. Where? (file:line)

Common Causes

SymptomLikely Cause
AssertionErrorLogic bug
TypeErrorWrong type passed
AttributeErrorMissing attribute
TimeoutInfinite loop or slow I/O
FlakyRace condition

Fix Strategy

1. Reproduce locally
2. Add minimal debug logging
3. Identify root cause
4. Fix the issue (not just the test)
5. Verify fix works
6. Remove debug logging

Coverage Analysis

Interpreting Results

Name                    Stmts   Miss  Cover   Missing
-----------------------------------------------------
src/auth.py               45     12    73%     23-35, 67
src/users.py             120      5    96%     45, 89-92
-----------------------------------------------------
TOTAL                    165     17    90%

Coverage Goals

TypeTarget
Unit> 80%
IntegrationKey flows
E2ECritical paths

Test Quality Checklist

  • Tests describe behavior, not implementation
  • No shared mutable state
  • No sleep/time dependencies
  • Fast execution (< 1s per test)
  • Clear assertions with good messages

Score

Total Score

50/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

0/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