move existing integration tests into new crate

This commit is contained in:
Dustin J. Mitchell 2022-01-25 01:32:22 +00:00
parent c006cbe8e5
commit ca0279a73f
7 changed files with 18 additions and 38 deletions

23
Cargo.lock generated
View file

@ -1524,9 +1524,17 @@ dependencies = [
name = "integration-tests"
version = "0.4.1"
dependencies = [
"actix-rt",
"actix-web",
"anyhow",
"cc",
"env_logger 0.8.4",
"log",
"pretty_assertions",
"taskchampion",
"taskchampion-lib",
"taskchampion-sync-server",
"tempfile",
]
[[package]]
@ -2488,21 +2496,6 @@ dependencies = [
"winapi 0.3.9",
]
[[package]]
name = "replica-server-tests"
version = "0.4.1"
dependencies = [
"actix-rt",
"actix-web",
"anyhow",
"env_logger 0.8.4",
"log",
"pretty_assertions",
"taskchampion",
"taskchampion-sync-server",
"tempfile",
]
[[package]]
name = "resolv-conf"
version = "0.7.0"

View file

@ -4,7 +4,6 @@ members = [
"taskchampion",
"cli",
"sync-server",
"replica-server-tests",
"lib",
"integration-tests",
]

View file

@ -8,6 +8,16 @@ build = "build.rs"
[dependencies]
taskchampion = { path = "../taskchampion" }
taskchampion-sync-server = { path = "../sync-server" }
[dev-dependencies]
anyhow = "1.0"
actix-web = "^3.3.2"
actix-rt = "^1.1.1"
tempfile = "3"
pretty_assertions = "1"
log = "^0.4.14"
env_logger = "^0.8.3"
[build-dependencies]
cc = "1.0"

View file

@ -1,21 +0,0 @@
[package]
name = "replica-server-tests"
version = "0.4.1"
authors = ["Dustin J. Mitchell <dustin@mozilla.com>"]
edition = "2018"
publish = false
[dependencies.taskchampion-sync-server]
path = "../sync-server"
[dependencies.taskchampion]
path = "../taskchampion"
[dev-dependencies]
anyhow = "1.0"
actix-web = "^3.3.2"
actix-rt = "^1.1.1"
tempfile = "3"
pretty_assertions = "1"
log = "^0.4.14"
env_logger = "^0.8.3"

View file

@ -1 +0,0 @@
// test-only crate