Skip to main content

Module test_runner

Module test_runner 

Source

Structs§

AggregateTimings
Cumulative worker-time across the run. Mirrors PhaseTimings plus the suite-level collection cost (discover + parse). Parallel case phases overlap, so these totals may exceed suite wall time.
PhaseTimings
Wall-clock cost of each phase of a single test execution.
RunOptions
Options that shape how a user-test suite is discovered and executed.
TestResult
TestRunSession
Reusable runtime state for repeated user-test runs.
TestRunSessionStats
Aggregate prepared-module cache counters for a TestRunSession.
TestShard
TestSummary
TestTimeout

Enums§

TestPhase
TestRunEvent

Functions§

run_test_file
Backwards-compatible single-file API used by harn dev.
run_test_file_with_session
Single-file test API that retains prepared artifacts across invocations.
run_tests
Discover and run tests in a file or directory.
run_tests_with_options
Run tests with full control over scheduling, worker count, and progress reporting. Workers and scheduling mode are reported via TestRunEvent::SuiteDiscovered so consumers can render their own banner instead of the runner printing to stdout directly.
run_tests_with_progress
Backwards-compatible progress-emitting entry point.
run_tests_with_session
Run tests while retaining immutable prepared-module artifacts in session.

Type Aliases§

TestRunProgress