diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/garage/Cargo.toml | 4 | ||||
-rw-r--r-- | src/garage/tests/smoke.rs | 8 |
2 files changed, 12 insertions, 0 deletions
diff --git a/src/garage/Cargo.toml b/src/garage/Cargo.toml index cb16bcd4..4136d2b7 100644 --- a/src/garage/Cargo.toml +++ b/src/garage/Cargo.toml @@ -37,3 +37,7 @@ serde = { version = "1.0", default-features = false, features = ["derive", "rc"] futures = "0.3" futures-util = "0.3" tokio = { version = "0.2", default-features = false, features = ["rt-core", "rt-threaded", "io-driver", "net", "tcp", "time", "macros", "sync", "signal", "fs"] } + +[dev-dependencies] +assert_cmd = "0.10" +predicates = "1" diff --git a/src/garage/tests/smoke.rs b/src/garage/tests/smoke.rs new file mode 100644 index 00000000..40010a0e --- /dev/null +++ b/src/garage/tests/smoke.rs @@ -0,0 +1,8 @@ +use assert_cmd::prelude::*; // Add methods on commands +use predicates::prelude::*; // Used for writing assertions +use std::process::Command; // Run programs + +#[test] +fn smoke() -> Result<(), CargoError> { + let mut cmd = Command::cargo_bin("garage")?; +} |