Skip to main content

Crate toasty_driver_integration_suite

Crate toasty_driver_integration_suite 

Source

Modules§

scenarios
stmt
Expression utilities for testing with assert_struct!
tests
Test implementations

Macros§

assert_eq_unordered
generate_driver_tests

Structs§

DriverOp
InstrumentedDriver
Test-only driver wrapper that instruments an underlying driver: it records every operation for later assertion and can inject faults (connection loss, etc.) to exercise error-handling paths.
InstrumentedHandle
Single control handle for the InstrumentedDriver test middleware. Exposes both the operation log (for assertions) and the fault queue (for injecting failures). Cheaply cloneable; every clone refers to the same shared state.
Test
Wraps the Tokio runtime and ensures cleanup happens.
TestResult

Enums§

Fault
A fault that can be injected into the next operation routed through the driver. Faults are consumed in FIFO order: each exec call pops at most one fault off the queue before delegating (or short-circuiting past) the underlying driver.

Traits§

Setup

Functions§

column
Helper function to get a single ColumnId for specified table and column
columns
Helper function to generate a Vec<ColumnId> for specified table and columns
table_id
Helper function to look up TableId by table name (handles database-specific prefixes)