diff --git a/Cargo.lock b/Cargo.lock index 73b1e0d96..ae74aea05 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -965,6 +965,15 @@ dependencies = [ "hashbrown", ] +[[package]] +name = "integration-testing" +version = "0.1.0" +dependencies = [ + "strafesnet_common", + "strafesnet_physics", + "strafesnet_snf", +] + [[package]] name = "itertools" version = "0.13.0" diff --git a/Cargo.toml b/Cargo.toml index cca86f0fa..f2603a8fd 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,6 +4,7 @@ members = [ "engine/physics", "engine/session", "engine/settings", + "integration-testing", "lib/bsp_loader", "lib/common", "lib/deferred_loader", diff --git a/integration-testing/Cargo.toml b/integration-testing/Cargo.toml new file mode 100644 index 000000000..96057f37d --- /dev/null +++ b/integration-testing/Cargo.toml @@ -0,0 +1,9 @@ +[package] +name = "integration-testing" +version = "0.1.0" +edition = "2021" + +[dependencies] +strafesnet_common = { version = "0.5.2", path = "../lib/common", registry = "strafesnet" } +strafesnet_physics = { version = "0.1.0", path = "../engine/physics", registry = "strafesnet" } +strafesnet_snf = { path = "../lib/snf", registry = "strafesnet" } diff --git a/strafe-client/src/tests/replay.rs b/integration-testing/src/main.rs similarity index 100% rename from strafe-client/src/tests/replay.rs rename to integration-testing/src/main.rs diff --git a/strafe-client/src/main.rs b/strafe-client/src/main.rs index efd75d8c6..65beb0f05 100644 --- a/strafe-client/src/main.rs +++ b/strafe-client/src/main.rs @@ -6,9 +6,6 @@ mod compat_worker; mod physics_worker; mod graphics_worker; -#[cfg(test)] -mod tests; - const TITLE:&'static str=concat!("Strafe Client v",env!("CARGO_PKG_VERSION")); fn main(){ diff --git a/strafe-client/src/tests/mod.rs b/strafe-client/src/tests/mod.rs deleted file mode 100644 index 6160572f2..000000000 --- a/strafe-client/src/tests/mod.rs +++ /dev/null @@ -1 +0,0 @@ -mod replay;