2 releases
0.1.1 | Sep 7, 2019 |
---|---|
0.1.0 | Aug 28, 2019 |
#852 in Testing
Used in tempest
16KB
293 lines
Tempest Source for Mock Queues
This source implements a basic queue for mocking message polling. Most tempest
topology tests use this Source
Install
Cargo.toml
[dependencies]
tempest-source-mock = "0.1.0"
Usage
use tempest_source_mock::prelude::*;
// create a type alias to the MockSourceBuilder
type Source = MockSourceBuilder;
// configure a topology with this source
struct MyTopology {}
impl Topology<Source> for MyTopology {
// implementation code here
}
Dependencies
~1.7–2.6MB
~56K SLoC