Skip to main content

Module parallel

Module parallel 

Source

Structs§

CancellationToken
Thread-safe cancellation flag for fail-fast mode.
ParallelConfig
Configuration for parallel test execution.
ParallelResult
Aggregated result from all parallel workers.
ParallelStats
Statistics about parallel execution.
ProgressMonitor
Monitor for tracking parallel execution progress.
TestGroup
A group of tests from the same suite.
WorkPartition
A partition of work to be executed by a single worker.
WorkerResult
Result from a single parallel worker.

Enums§

PartitionStrategy
Strategy for partitioning tests across workers.

Functions§

build_parallel_result
Build a ParallelResult from worker results.
compute_parallel_stats
Compute statistics about parallel execution.
estimate_partition_time
Estimate how long a partition would take based on known durations.
format_partition
Format a partition for display.
is_balanced
Check if partitions are balanced (no worker has more than 2x the average).
merge_worker_results
Merge results from multiple workers into a single TestRunResult.
partition_tests
Partition test cases across N workers using the given strategy.
rebalance
Rebalance partitions that are too skewed.