Skip to content

Commit 850cdd2

Browse files
authored
Merge pull request #109 from encryption4all/integration-test-harness
test: add end-to-end upload-pipeline integration test harness
2 parents b1eff69 + f51acd1 commit 850cdd2

3 files changed

Lines changed: 371 additions & 32 deletions

File tree

Cargo.lock

Lines changed: 11 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,16 @@ tokio-util = { version = "0.7.17", features = ["compat"] }
3333
pg-core = { version = "0.5.0", features = ["rust", "stream"] }
3434
minreq = { version = "2.14.1", features = ["json-using-serde", "https-native"]}
3535

36+
[dev-dependencies]
37+
# Enables `pg_core::test::TestSetup` for building real verifying keys and
38+
# sealing fixtures in the integration test harness. No effect on release builds.
39+
pg-core = { version = "0.5.0", features = ["rust", "stream", "test"] }
40+
futures = "0.3"
41+
# pg-core's Sealer/TestSetup use rand 0.8 APIs; the rest of the crate uses
42+
# rand 0.9. Pin an 0.8 rand explicitly in dev-deps so test code can hand
43+
# pg-core a compatible RNG without an 0.9↔0.8 trait mismatch.
44+
rand08 = { package = "rand", version = "0.8" }
45+
3646
[profile.release]
3747
lto = true
3848

0 commit comments

Comments
 (0)