Skip to content

Commit

Permalink
Wrap basic services with testcontainers-rs for further usage in it …
Browse files Browse the repository at this point in the history
…tests (#318)
  • Loading branch information
Fly-Style authored Nov 22, 2024
1 parent 47185a6 commit 5a2c458
Show file tree
Hide file tree
Showing 7 changed files with 521 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,10 @@ jobs:
run: forge install
working-directory: ./contracts/evm

- name: Test
- name: Go Integration Test
run: make tests-integration

- name: Rust Integration Test
run: cargo test --features it-tests
working-directory: ./tests/e2e/e2e_tests

247 changes: 247 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ members = [
"indexer",
"contracts/evm/test/ffi/bls-utils",
"offchain",
"tests/e2e/e2e_tests",
]

[workspace.package]
Expand Down
14 changes: 14 additions & 0 deletions tests/e2e/e2e_tests/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[package]
name = "e2e_tests"
version.workspace = true
edition.workspace = true
repository.workspace = true

[features]
it-tests = []

[dependencies]
eyre = {workspace = true}
tokio = {workspace = true}
testcontainers = "0.23.1"
testcontainers-modules = { version = "0.11.4", features = ["rabbitmq", "blocking"] }
Empty file added tests/e2e/e2e_tests/src/lib.rs
Empty file.
Loading

0 comments on commit 5a2c458

Please sign in to comment.