~whynothugo/vdirsyncer-rs

476c733f7f7b4e02b5c64fb58d4275a4e3db0b6e — Hugo Osvaldo Barrera 1 year, 5 months ago 27b977c test_with
WIP: use test_with for integration tests
3 files changed, 65 insertions(+), 14 deletions(-)

M Cargo.lock
M libdav/Cargo.toml
M libdav/tests/caldav.rs
M Cargo.lock => Cargo.lock +61 -11
@@ 19,7 19,7 @@ checksum = "b84f9ebcc6c1f5b8cb160f6990096a5c127f423fcb6e1ccc46c370cbdfb75dfc"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
 "syn 1.0.107",
]

[[package]]


@@ 250,7 250,7 @@ checksum = "95a73af87da33b5acf53acfebdc339fe592ecf5357ac7c0a7734ab9d8c876a70"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
 "syn 1.0.107",
]

[[package]]


@@ 477,6 477,7 @@ dependencies = [
 "quick-xml",
 "rand",
 "serial_test",
 "test-with",
 "thiserror",
 "tokio",
]


@@ 588,10 589,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"

[[package]]
name = "proc-macro-error"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
dependencies = [
 "proc-macro-error-attr",
 "proc-macro2",
 "quote",
 "syn 1.0.107",
 "version_check",
]

[[package]]
name = "proc-macro-error-attr"
version = "1.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
dependencies = [
 "proc-macro2",
 "quote",
 "version_check",
]

[[package]]
name = "proc-macro2"
version = "1.0.47"
version = "1.0.53"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725"
checksum = "ba466839c78239c09faf015484e5cc04860f88242cff4d03eb038f04b4699b73"
dependencies = [
 "unicode-ident",
]


@@ 607,9 632,9 @@ dependencies = [

[[package]]
name = "quote"
version = "1.0.21"
version = "1.0.26"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179"
checksum = "4424af4bf778aae2051a77b60283332f386554255d722233d09fbfc7e30da2fc"
dependencies = [
 "proc-macro2",
]


@@ 797,6 822,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "538c30747ae860d6fb88330addbbd3e0ddbe46d662d032855596d8a8ca260611"
dependencies = [
 "dashmap",
 "futures",
 "lazy_static",
 "parking_lot",
 "serial_test_derive",


@@ 810,7 836,7 @@ checksum = "079a83df15f85d89a68d64ae1238f142f172b1fa915d0d76b26a7cba1b659a69"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
 "syn 1.0.107",
]

[[package]]


@@ 876,6 902,17 @@ dependencies = [
]

[[package]]
name = "syn"
version = "2.0.8"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bcc02725fd69ab9f26eab07fad303e2497fad6fb9eba4f96c4d1687bdf704ad9"
dependencies = [
 "proc-macro2",
 "quote",
 "unicode-ident",
]

[[package]]
name = "tempfile"
version = "3.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 899,6 936,19 @@ dependencies = [
]

[[package]]
name = "test-with"
version = "0.9.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "266e80e1c6d4f808d83c5e299b0946971e6043ee8e029c14caa1b43129705c78"
dependencies = [
 "proc-macro-error",
 "proc-macro2",
 "quote",
 "regex",
 "syn 2.0.8",
]

[[package]]
name = "thiserror"
version = "1.0.38"
source = "registry+https://github.com/rust-lang/crates.io-index"


@@ 915,7 965,7 @@ checksum = "1fb327af4685e4d03fa8cbcf1716380da910eeb2bb8be417e7f9fd3fb164f36f"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
 "syn 1.0.107",
]

[[package]]


@@ 946,7 996,7 @@ checksum = "9724f9a975fb987ef7a3cd9be0350edcbe130698af5b8f7a631e23d42d052484"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
 "syn 1.0.107",
]

[[package]]


@@ 1085,7 1135,7 @@ dependencies = [
 "once_cell",
 "proc-macro2",
 "quote",
 "syn",
 "syn 1.0.107",
 "wasm-bindgen-shared",
]



@@ 1107,7 1157,7 @@ checksum = "07bc0c051dc5f23e307b13285f9d75df86bfdf816c5721e573dec1f9b8aa193c"
dependencies = [
 "proc-macro2",
 "quote",
 "syn",
 "syn 1.0.107",
 "wasm-bindgen-backend",
 "wasm-bindgen-shared",
]

M libdav/Cargo.toml => libdav/Cargo.toml +2 -1
@@ 24,4 24,5 @@ tokio = "1.25.0"
[dev-dependencies]
env_logger = "0.10.0"
rand = "0.8.5"
serial_test = { version = "1.0.0", default-features = false }
serial_test = { version = "1.0.0", default-features = false, features = ["async"] }
test-with = { version = "0.9.6", default-features = false }

M libdav/tests/caldav.rs => libdav/tests/caldav.rs +2 -2
@@ 270,9 270,9 @@ async fn test_create_and_fetch_resource() {
    // );
}

#[tokio::test]
#[ignore]
#[serial]
#[test_with::env(CALDAV_SERVER)]
#[tokio::test]
async fn test_fetch_missing() {
    init();