Hansie Odendaal a443374e4d
feat: add cucumber auto deployer (#2)
- 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.
2026-01-09 15:30:59 +02:00

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;
}