Skip to main content

Module executor

Module executor 

Source
Expand description

Python subprocess executor for running pytest tests.

This module provides two execution strategies:

  • PythonExecutor: Subprocess-based execution (default, always available)
  • EmbeddedExecutor: PyO3-based embedded execution (requires embedded-python feature)

Use create_executor() to automatically select the best available executor.

Structs§

ExecutorConfig
Executor configuration.
PooledExecutor
Executor using a warm worker pool for maximum throughput.
PythonExecutor
Executor that runs tests via Python subprocess.

Traits§

TestExecutor
Trait for test executors providing a unified interface for running tests.

Functions§

create_executor
Create the best available executor based on the requested mode.
create_pooled_executor
Create a pooled executor with warm workers.