Skip to content
ln-782-test-runner logo

Ln 782 Test Runner

ln-782-test-runner

Executes all test suites and reports results with coverage. Use when verifying that test infrastructure works after bootstrap.

SKILL.md

Full skill instructions

Paths: File paths (shared/, references/, ../​ln-*) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If shared/ is missing, fetch files via WebFetch from https://raw.githubusercontent.com/​levnikolaevich/​claude-code-skills/​master/​skills/​{path}.

MANDATORY READ: Load shared/​references/​ci_tool_detection.md — test framework registry, compact flags (--tb=short -q, --reporter=json), and normalization chain.

ln-782-test-runner

Type: L3 Worker Category: 7XX Project Bootstrap


Purpose

Detects test frameworks, executes all test suites, and reports results including pass/​fail counts and optional coverage.

Scope:

  • Auto-detect test frameworks from project configuration
  • Execute test suites for all detected frameworks
  • Parse test output for pass/​fail counts
  • Generate coverage reports when enabled

Out of Scope:

  • Building projects (handled by ln-781)
  • Container operations (handled by ln-783)
  • Writing or fixing tests

When to Use

ScenarioUse This Skill
Standalone-capableYes
Standalone test executionYes
CI/​CD pipeline test stepYes
Build verification neededNo, use ln-781

Workflow

Step 1: Detect Test Frameworks

Identify test frameworks from project configuration files.

MarkerTest FrameworkProject Type
vitest.config.*VitestNode.js
jest.config.*JestNode.js
*.test.ts in package.jsonVitest/​JestNode.js
xunit / nunit in *.csprojxUnit/​NUnit.NET
pytest.ini / conftest.pypytestPython
*_test.go filesgo testGo
tests/ with Cargo.tomlcargo testRust

Step 2: Execute Test Suites

Run tests for each detected framework.

FrameworkExecution Strategy
VitestRun in single-run mode with JSON reporter
JestRun with JSON output
xUnit/​NUnitRun with logger for structured output
pytestRun with JSON plugin or verbose output
go testRun with JSON output flag
cargo testRun with standard output parsing

Step 3: Parse Results

Extract test results from framework output.

MetricDescription
totalTotal number of tests discovered
passedTests that completed successfully
failedTests that failed assertions
skippedTests marked as skip/​ignore
durationTotal execution time

Step 4: Generate Coverage (Optional)

When coverage enabled, collect coverage metrics.

FrameworkCoverage Tool
Vitest/​Jestc8 / istanbul
.NETcoverlet
pytestpytest-cov
Gogo test -cover
Rustcargo-tarpaulin

Coverage Metrics:

MetricDescription
linesCoveredLines executed during tests
linesTotalTotal lines in codebase
percentageCoverage percentage

Step 5: Report Results

Return structured results to orchestrator.

Result Structure:

FieldDescription
suiteNameTest suite identifier
frameworkDetected test framework
statuspassed / failed / error
totalTotal test count
passedPassed test count
failedFailed test count
skippedSkipped test count
durationExecution time in seconds
failuresArray of failure details (test name, message)
coverageCoverage metrics (if enabled)

Error Handling

Error TypeAction
No tests foundReport warning, status = passed (0 tests)
Test timeoutReport timeout, include partial results
Framework errorLog error, report as error status
Missing dependenciesReport missing test dependencies

Options

OptionDefaultDescription
skipTestsfalseSkip execution if no tests found
allowFailuresfalseReport success even if tests fail
coveragefalseGenerate coverage report
timeout300Max execution time in seconds
paralleltrueRun test suites in parallel when possible

Critical Rules

  1. Run all detected test suites - do not skip suites silently
  2. Parse actual results - do not rely only on exit code
  3. Include failure details - provide actionable information for debugging
  4. Respect timeout - prevent hanging on infinite loops

Monitor Integration (Claude Code 2.1.98+)

MANDATORY READ: Load shared/​references/​monitor_integration_pattern.md

For test suites expected to run >30 seconds, use Monitor to stream failures in real-time:

PatternCommandtimeout_ms
Stream failures{test_command} 2>&1 | grep --line-buffered -E 'FAIL|Error|✗|AssertionError'timeout * 1000 (from Options)
Full output{test_command} 2>&1timeout * 1000

React to first failure immediately while remaining tests continue running.

Fallback: if Monitor is unavailable (Bedrock/​Vertex), use Bash(run_in_background=true).


Definition of Done

  • All test frameworks detected
  • All test suites executed
  • Results parsed and structured
  • Coverage collected (if enabled)
  • Results returned to orchestrator

Reference Files

  • Parent: ../​ln-780-bootstrap-verifier/​SKILL.md

Version: 2.0.0 Last Updated: 2026-01-10

More skills from boisenoise

database-cloud-optimization-cost-optimize logo
boisenoise/skills-collections

database-cloud-optimization-cost-optimize

You are a cloud cost optimization expert specializing in reducing infrastructure expenses while maintaining performance and reliability. Analyze cloud spending, identify savings opportunities, and implement cost-effective architectures across AWS, Azure, and GCP.

10 0
View
postmark-automation logo
boisenoise/skills-collections

postmark-automation

Automate Postmark email delivery tasks via Rube MCP (Composio): send templated emails, manage templates, monitor delivery stats and bounces. Always search tools first for current schemas.

10 0
View
game-development logo
boisenoise/skills-collections

game-development

Game development orchestrator. Routes to platform-specific skills based on project needs.

10 0
View
test-fixing logo
boisenoise/skills-collections

test-fixing

Systematically identify and fix all failing tests using smart grouping strategies. Use when explicitly asks to fix tests (\"fix these tests\", \"make tests pass\"), reports test failures (\"tests are failing\", \"test suite is broken\"), or completes implementation and wants tests passing.

10 0
View
notebooklm logo
boisenoise/skills-collections

notebooklm

Interact with Google NotebookLM to query documentation with Gemini's source-grounded answers. Each question opens a fresh browser session, retrieves the answer exclusively from your uploaded documents, and closes.

10 0
View
agent-evaluation logo
boisenoise/skills-collections

agent-evaluation

Testing and benchmarking LLM agents including behavioral testing,

10 0
View
clickup-automation logo
boisenoise/skills-collections

clickup-automation

Automate ClickUp project management including tasks, spaces, folders, lists, comments, and team operations via Rube MCP (Composio). Always search tools first for current schemas.

10 0
View
wordpress-penetration-testing logo
boisenoise/skills-collections

wordpress-penetration-testing

Assess WordPress installations for common vulnerabilities and WordPress 7.0 attack surfaces.

10 0
View
ln-761-secret-scanner logo
boisenoise/skills-collections

ln-761-secret-scanner

Scans codebase for hardcoded secrets with severity classification and remediation guidance. Use when auditing a project for leaked credentials.

10 0
View
azure-monitor-ingestion-java logo
boisenoise/skills-collections

azure-monitor-ingestion-java

Azure Monitor Ingestion SDK for Java. Send custom logs to Azure Monitor via Data Collection Rules (DCR) and Data Collection Endpoints (DCE).

10 0
View
ln-513-agent-reviewer logo
boisenoise/skills-collections

ln-513-agent-reviewer

Runs parallel external agent reviews (Codex + Gemini) on code changes. Process-as-arrive, critical verification with debate. Returns filtered suggestions.

10 0
View
drip-jobs-automation logo
boisenoise/skills-collections

drip-jobs-automation

Automate Drip Jobs tasks via Rube MCP (Composio). Always search tools first for current schemas.

10 0
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View