Skip to main content

Module test_utils

Module test_utils 

Source
Expand description

Helpers for writing tests against the core protocol.

Structs§

LocalValidatorClient
A client used by tests to talk to an in-process LocalValidator.
MemoryStorageBuilder
A StorageBuilder backed by in-memory storage.
NodeProvider
A ValidatorNodeProvider holding the in-process test validator clients.
RocksDbStorageBuilder
A StorageBuilder backed by RocksDB storage.
ScyllaDbStorageBuilder
A StorageBuilder backed by ScyllaDB storage.
ServiceStorageBuilder
A StorageBuilder backed by the storage service.
TestBuilder

Enums§

FaultType
The kind of misbehavior a test validator simulates.

Traits§

ClientOutcomeResultExt
Helpers for asserting on ClientOutcome results in tests.
StorageBuilder
Builds storage instances of a specific backend for use in tests.

Type Aliases§

ChainClient
A chain client wired up to the in-process test validator network.