tonic-mock 0.4.0

Test utilities for easy mocking tonic streaming interface
Documentation
1
2
3
4
5
6
7
8
9
// Re-export types and utilities used in benchmarks

// Re-export test messages
#[path = "../tests/common/mod.rs"]
mod test_common;

pub use test_common::test_utils;
pub use test_common::{TestMessage, TestResponse};
pub use tonic_mock::{process_streaming_response, stream_to_vec, streaming_request};