Crate kitsune2_test_utils

Crate kitsune2_test_utils 

Source
Expand description

Test utilities to help with testing Kitsune2.

Modules§

agent
Test utilities associated with agents and agent info.
bootstrap
Test utilities associated with bootstrapping.
id
Test utilities associated with ids.
noop_bootstrap
A no-op bootstrap implementation.
space
Test utilities associated with spaces.
tx_handler
A test TxHandler implementation that implements pre-flight agent info sharing.

Macros§

iter_check
Repeat a code block after a pause until a timeout has elapsed. The default timeout is 100 ms.

Functions§

enable_tracing
Enable tracing with the RUST_LOG environment variable.
enable_tracing_with_default_level
Enable tracing with the RUST_LOG environment variable.
random_bytes
Create random bytes of a specified length.