-
Notifications
You must be signed in to change notification settings - Fork 90
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: add integration test framework
To support integration tests written in rust, let's add a new package (which will only be used internally) called integration-tests. Inside the package, we have a tests repo where we can put tests. The package imports other trustee packages using a local path, so it should always have the most recent version of things. Now integration tests will run simply by doing cargo test at the top of the repo. Signed-off-by: Tobin Feldman-Fitzthum <[email protected]>
- Loading branch information
Showing
4 changed files
with
325 additions
and
9 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ members = [ | |
"rvps", | ||
"tools/kbs-client", | ||
"deps/verifier", | ||
"integration-tests", | ||
] | ||
resolver = "2" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[package] | ||
name = "integration-tests" | ||
version.workspace = true | ||
authors.workspace = true | ||
description.workspace = true | ||
documentation.workspace = true | ||
edition.workspace = true | ||
|
||
[dependencies] | ||
kbs = { path = "../kbs" } | ||
attestation-service = { path = "../attestation-service" } | ||
kbs-client = { path = "../tools/kbs-client" } | ||
|
||
actix-web = "4.9.0" | ||
actix-rt = "2.10.0" | ||
anyhow = "1.0.94" | ||
env_logger = "0.11.5" | ||
log = "0.4.22" | ||
openssl = "0.10.68" | ||
rstest.workspace = true | ||
serde_json = "1.0.133" | ||
serial_test = { version = "3.2.0", features = ["async"]} | ||
tempfile = "3.14.0" | ||
tokio = { version = "1.42.0", features = ["full"] } |
Oops, something went wrong.