From 736d6b52245ea99ce63b00d8000f57fce466f06e Mon Sep 17 00:00:00 2001 From: Lev Roitman Date: Mon, 9 Dec 2024 17:52:07 +0200 Subject: [PATCH] feat(starknet_integration_tests): end to end integration test as executable (not test) commit-id:7a6dd4a7 --- .../src/bin/e2e_integration_test.rs | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 crates/starknet_integration_tests/src/bin/e2e_integration_test.rs diff --git a/crates/starknet_integration_tests/src/bin/e2e_integration_test.rs b/crates/starknet_integration_tests/src/bin/e2e_integration_test.rs new file mode 100644 index 0000000000..c4f64c9123 --- /dev/null +++ b/crates/starknet_integration_tests/src/bin/e2e_integration_test.rs @@ -0,0 +1,16 @@ +use starknet_integration_tests::end_to_end_integration::end_to_end_integration; +use starknet_integration_tests::utils::create_integration_test_tx_generator; +use starknet_sequencer_infra::trace_util::configure_tracing; +use tracing::info; + +#[tokio::main] +async fn main() { + configure_tracing().await; + info!("Running integration test setup."); + + // Creates a multi-account transaction generator for integration test + let tx_generator = create_integration_test_tx_generator(); + + // Run end to end integration test. + end_to_end_integration(tx_generator).await; +}