Write some basic test utils to get going; time to start trying them

This commit is contained in:
James Wilson
2021-07-07 17:25:59 +01:00
parent f2adead2e9
commit c043393e28
7 changed files with 182 additions and 74 deletions
+3
View File
@@ -29,3 +29,6 @@ thiserror = "1.0.25"
tokio = { version = "1.7.0", features = ["full"] }
tokio-util = { version = "0.6", features = ["compat"] }
warp = "0.3.1"
[dev-dependencies]
test_utils = { path = "../test_utils" }
+14
View File
@@ -308,3 +308,17 @@ where
// loop ended; give socket back to parent:
(tx_to_aggregator, websocket)
}
#[cfg(test)]
pub mod test {
use test_utils::test_simple;
#[test]
fn test_feed_connection () {
}
}