Expand description
Miscellaneous test code for Zebra.
Modules§
- Launching test commands for Zebra integration and acceptance tests.
- Some helpers to make it simpler to mock Tower services.
- Network testing utility functions for Zebra.
- Contains test vectors for network protocol address messages:
- Common
zebra_test
types, traits, and functions. - Extension traits for [
Service
] types to help with testing. - A [
Service
] implementation based on a fixed transcript. - Test vectors for Zebra
- Contains test vectors for ZIP-0143 data (signature hashes).
- Contains test vectors for ZIP-0243 data (signature hashes).
- Contains test vectors for ZIP-0244 data (transaction IDs, signature hashes).
Macros§
- Helper macro to create a list of arguments in an
Arguments
instance.
Structs§
Statics§
- INIT 🔒
- A multi-threaded Tokio runtime that can be shared between tests. This runtime should be used for tests that spawn blocking threads.
- A single-threaded Tokio runtime that can be shared between tests. This runtime should be used for tests that need a single thread for consistent timings.
Functions§
- Initialize global and thread-specific settings for tests, such as tracing configs, panic hooks, and
cargo insta
settings. - Initialize globals for tests that need a separate Tokio runtime instance.