Skip to content

Commit

Permalink
refactor: enable integration tests as separate crate
Browse files Browse the repository at this point in the history
  • Loading branch information
tomyrd committed Jun 28, 2024
1 parent 4e07a0c commit 8b5a8ec
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ resolver = "2"

members = [
"bin/miden-cli",
"crates/miden-client"
"crates/miden-client",
"tests"
]

[workspace.package]
Expand Down
25 changes: 25 additions & 0 deletions tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
[package]
name = "miden-client-tests"
version = "0.3.1"
description = "Integration Tests for the miden client library and CLI"
readme = "README.md"
publish = false
license.workspace = true
authors.workspace = true
repository.workspace = true
rust-version.workspace = true
edition.workspace = true

[dev-dependencies]
figment = { version = "0.10", features = ["toml", "env"] }
miden-client = { path = "../crates/miden-client", features = ["executable", "testing"] }
miden-tx = { package = "miden-tx", git = "https://github.com/0xPolygonMiden/miden-base.git", branch = "next", default-features = false }
miden-objects = { package = "miden-objects", git = "https://github.com/0xPolygonMiden/miden-base.git", branch = "next", default-features = false, features = ["serde"] }
assert_cmd = { version = "2.0" }
uuid = { version = "1.6.1", features = ["serde", "v4"] }
rand = { workspace = true }
tokio = { workspace = true }

[[test]]
name = "integration"
path = "integration/main.rs"

0 comments on commit 8b5a8ec

Please sign in to comment.