1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Testing utilities for Openraft applications.
//!
//! This module provides test utilities and suite runners to verify Openraft implementations.
//!
//! ## Modules
//!
//! - [`common`] - Common test utilities and assertions
//! - [`log`] - Log storage test suite
//! - [`runtime`] - Runtime test utilities (re-exported from `openraft_rt::testing`)
//!
//! ## Overview
//!
//! Test suites help verify that custom implementations of storage and network traits
//! behave correctly according to Raft protocol requirements.
//!
//! ## Usage
//!
//! Import test utilities to verify your implementations:
//!
//! ```ignore
//! use openraft::testing::log::Suite;
//!
//! #[test]
//! fn test_log_storage() {
//! Suite::test_all(MyLogStore::new());
//! }
//! ```
//!
//! These tests help ensure correctness and catch subtle protocol violations.
pub use *;
/// Runtime test utilities re-exported from `openraft_rt::testing`.