Skip to main content

Module test_runner

Module test_runner 

Source
Expand description

Verification Runners

Provides test, syntax-check, build, and lint execution for language plugins.

  • PythonTestRunner: pytest-specific runner with detailed output parsing.
  • RustTestRunner: cargo-based runner with test output parsing.
  • PluginVerifierRunner (PSP-5 Phase 4): generic runner driven entirely by a plugin’s VerifierProfile. It executes whatever commands the profile declares, including fallback commands, without hardcoding language details.

The TestRunnerTrait is the unified async interface consumed by the orchestrator.

Structs§

PluginVerifierRunner
Generic verifier runner driven by a plugin’s VerifierProfile.
PythonTestRunner
Python test runner using uv and pytest
RustTestRunner
PSP-5: Rust test runner using cargo
TestFailure
Information about a single test failure
TestResults
Result of a test run

Traits§

TestRunnerTrait
PSP-5: Language-agnostic test runner trait

Functions§

test_runner_for_plugin
PSP-5: Factory function to create a test runner for a given plugin
test_runner_for_profile
PSP-5 Phase 4: Create a runner from a verifier profile.

Type Aliases§

TestRunner