diff options
author | Quentin <quentin@deuxfleurs.fr> | 2020-11-29 16:27:51 +0100 |
---|---|---|
committer | Quentin <quentin@deuxfleurs.fr> | 2020-11-29 16:27:51 +0100 |
commit | 9a6bf6a5ec1f61c4eded06ff2cbec6f415a583da (patch) | |
tree | 6f5e532aea7f859fc82b29082411929f9cde54dc /src/garage | |
parent | ba1f8060fe88e9eef97757d33bcc0972a2e327d9 (diff) | |
download | garage-9a6bf6a5ec1f61c4eded06ff2cbec6f415a583da.tar.gz garage-9a6bf6a5ec1f61c4eded06ff2cbec6f415a583da.zip |
WIP smoke testfeature/smoke-test
Diffstat (limited to 'src/garage')
-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")?; +} |