agentskills.codes
TE

testing:test-runner

|

Install

mkdir -p .claude/skills/testing-test-runner && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/14521" && unzip -o skill.zip -d .claude/skills/testing-test-runner && rm skill.zip

Installs to .claude/skills/testing-test-runner

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Execute test suites with proper setup and reporting. Use when running tests, checking test status, or debugging test failures.
126 chars✓ has a “when” trigger

About this skill

Test Runner

Execute project test suites with proper configuration.

Quick Commands

# Unit tests
<test-command>              # Run all
<test-coverage-command>     # With coverage
<test-watch-command>        # Watch mode

# E2E tests
<e2e-command>               # Run all
<e2e-smoke-command>         # Smoke tests only

# Specific tests
<test-runner> <path-to-test-file>

Dev Server Management (for E2E)

# Start (background)
nohup <dev-command> > dev.log 2>&1 &

# Verify
curl -s http://localhost:<port> | head -1

# Run E2E
<e2e-command>

# CRITICAL: Cleanup
pkill -f "<dev-process-name>"

Debugging

# Verbose output
<test-runner> --reporter=verbose <test>

# Playwright UI mode
<playwright-runner> <test> --ui

# Headed mode (see browser)
<playwright-runner> <test> --headed

Common Issues

Server won't start:

lsof -i :<port>              # Check port
kill $(lsof -t -i:<port>)    # Free port

Tests hanging:

ps aux | grep <process>      # Check processes
pkill -f <process>           # Kill if needed

Coverage not updating:

rm -rf coverage/             # Clear cache
<test-coverage-command>      # Regenerate

Search skills

Search the agent skills registry