mirror of
https://github.com/logos-blockchain/logos-blockchain-testing.git
synced 2026-08-01 20:33:13 +00:00
- Added an example that selects the deployer (local or docker compose) based on an environment variable. - Let cucumber's argument parsing environment select scenarios to run - this allows for a flexible test environment.
13 lines
403 B
Rust
13 lines
403 B
Rust
use cucumber::World;
|
|
use cucumber_ext::{DeployerKind, TestingFrameworkWorld};
|
|
use runner_examples::defaults::{init_logging_defaults, init_node_log_dir_defaults, init_tracing};
|
|
|
|
#[tokio::main]
|
|
async fn main() {
|
|
init_logging_defaults();
|
|
init_node_log_dir_defaults(DeployerKind::Local);
|
|
init_tracing();
|
|
|
|
TestingFrameworkWorld::run("examples/cucumber/features/local_smoke.feature").await;
|
|
}
|