ln-782-test-runner

Executes all test suites and reports results with coverage

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "ln-782-test-runner" with this command: npx skills add levnikolaevich/claude-code-skills/levnikolaevich-claude-code-skills-ln-782-test-runner

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.

ln-782-test-runner

Type: L3 Worker Category: 7XX Project Bootstrap Parent: ln-780-bootstrap-verifier


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
Called by ln-780 orchestratorYes
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

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

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

ln-140-test-docs-creator

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

ln-150-presentation-creator

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

ln-110-project-docs-coordinator

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

ln-210-epic-coordinator

No summary provided by upstream source.

Repository SourceNeeds Review