-
Notifications
You must be signed in to change notification settings - Fork 51
E2E tests runner refactor. Use clap and anyhow #659
Copy link
Copy link
Closed
Labels
- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceTestingChecking TorrustChecking Torrust
Milestone
Description
I'm using clap and anyhow in all binaries because the configuration is getting more complex.
Allow to inject the tracker configuration with env vars.
Currently, you can run it like this:
cargo run --bin e2e_tests_runner "./share/default/config/tracker.e2e.container.sqlite3.toml"But it would be also interesting to run it with:
TORRUST_TRACKER_CONFIG=[value] cargo run --bin e2e_tests_runneror:
TORRUST_TRACKER_PATH_CONFIG="./share/default/config/tracker.e2e.container.sqlite3.toml" cargo run --bin e2e_tests_runnerSubtasks
- Migrate to
clapandanyhow. - Allow injecting config with env vars.
cc @da2ce7
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
- Developer -Torrust Improvement ExperienceTorrust Improvement ExperienceTestingChecking TorrustChecking Torrust
Type
Projects
Status
Done