Skip to content

Commit

Permalink
testing module with mock redis connection and command
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Dyas committed May 19, 2021
1 parent f77bad9 commit d93a70f
Show file tree
Hide file tree
Showing 3 changed files with 393 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Expand Up @@ -68,6 +68,7 @@ script = ["sha1"]
tls = ["native-tls"]
async-std-comp = ["aio", "async-std"]
async-std-tls-comp = ["async-std-comp", "async-native-tls", "tls"]
testing = ["futures"]
tokio-comp = ["aio", "tokio", "tokio/net"]
tokio-native-tls-comp = ["tls", "tokio-native-tls"]
connection-manager = ["arc-swap", "futures", "aio"]
Expand Down
3 changes: 3 additions & 0 deletions src/lib.rs
Expand Up @@ -438,6 +438,9 @@ mod r2d2;
#[cfg_attr(docsrs, doc(cfg(feature = "streams")))]
pub mod streams;

#[cfg(feature = "testing")]
pub mod testing;

mod client;
mod cmd;
mod commands;
Expand Down

0 comments on commit d93a70f

Please sign in to comment.