Skip to main content

Module test_runner

Module test_runner 

Source
Expand description

PEPL test runner — executes tests { } blocks from PEPL programs.

Each test case creates a fresh SpaceInstance and dispatches actions by calling them as functions. with_responses { } provides mock capability call results.

Structs§

MockResponse
A mocked capability response: (module, function) → response Value.
TestResult
Result of running a single test case.
TestRunSummary
Summary of running all test blocks.

Functions§

run_tests
Run all test blocks in a PEPL program.