From 633684a6c7400fde9e66ff2b9a8bbf52297ec209 Mon Sep 17 00:00:00 2001 From: jbesraa Date: Mon, 2 Sep 2024 16:47:44 +0300 Subject: [PATCH] Add integration tests project Adds an initial integration tests project to the `roles` workspace. This crate should hold tests related to the other crates in the `roles` workspace, allowing us to write integration tests for those. --- roles/Cargo.lock | 4 ++++ roles/Cargo.toml | 1 + roles/tests-integration/Cargo.toml | 9 +++++++++ roles/tests-integration/tests/common/mod.rs | 1 + 4 files changed, 15 insertions(+) create mode 100644 roles/tests-integration/Cargo.toml create mode 100644 roles/tests-integration/tests/common/mod.rs diff --git a/roles/Cargo.lock b/roles/Cargo.lock index b5703c236..03c5acf6c 100644 --- a/roles/Cargo.lock +++ b/roles/Cargo.lock @@ -1244,6 +1244,10 @@ dependencies = [ "cfg-if", ] +[[package]] +name = "integration-test" +version = "0.1.0" + [[package]] name = "io-lifetimes" version = "1.0.11" diff --git a/roles/Cargo.toml b/roles/Cargo.toml index 109cfd0ee..d44909a93 100644 --- a/roles/Cargo.toml +++ b/roles/Cargo.toml @@ -23,6 +23,7 @@ members = [ "translator", "jd-client", "jd-server", + "tests-integration", ] [profile.dev] diff --git a/roles/tests-integration/Cargo.toml b/roles/tests-integration/Cargo.toml new file mode 100644 index 000000000..6eaed2218 --- /dev/null +++ b/roles/tests-integration/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "integration-test" +version = "0.1.0" +edition = "2021" + +[dependencies] + +[lib] +path = "tests/common/mod.rs" diff --git a/roles/tests-integration/tests/common/mod.rs b/roles/tests-integration/tests/common/mod.rs new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/roles/tests-integration/tests/common/mod.rs @@ -0,0 +1 @@ +