Module partition

Module partition 

Source
Expand description

Support for partitioning test runs across several machines.

Three kinds of partitioning are currently supported:

  • Counted (count:M/N): round-robin partitioning within each binary.
  • Hashed (hash:M/N): deterministic hash-based partitioning within each binary.
  • Sliced (slice:M/N): round-robin partitioning across all binaries (cross-binary).

In the future, partitioning could potentially be made smarter: e.g. using data to pick different sets of binaries and tests to run, with an aim to minimize total build and test times.

Enums§

PartitionerBuilder
A builder for creating Partitioner instances.
PartitionerScope
The scope at which a partitioner operates.

Traits§

Partitioner
Represents an individual partitioner, typically scoped to a test binary.