Skip to content

Use clap and anyhowcrates in E2E test runner#890

Merged
josecelano merged 1 commit intotorrust:developfrom
josecelano:659-e2e-tests-runner-refactor-use-clap-and-anyhow
Jun 10, 2024
Merged

Use clap and anyhowcrates in E2E test runner#890
josecelano merged 1 commit intotorrust:developfrom
josecelano:659-e2e-tests-runner-refactor-use-clap-and-anyhow

Conversation

@josecelano
Copy link
Copy Markdown
Member

You can execute the E2E runner with:

cargo run --bin e2e_tests_runner -- --config-toml-path "./share/default/config/tracker.e2e.container.sqlite3.toml"

Or:

TORRUST_TRACKER_CONFIG_TOML_PATH="./share/default/config/tracker.e2e.container.sqlite3.toml" cargo run --bin e2e_tests_runner

Or:

TORRUST_TRACKER_CONFIG_TOML=$(cat "./share/default/config/tracker.e2e.container.sqlite3.toml") cargo run --bin e2e_tests_runner

@josecelano josecelano requested a review from a team as a code owner June 10, 2024 17:43
@josecelano josecelano added this to the v3.0.0 milestone Jun 10, 2024
@josecelano josecelano linked an issue Jun 10, 2024 that may be closed by this pull request
2 tasks
@josecelano josecelano self-assigned this Jun 10, 2024
@josecelano josecelano requested a review from da2ce7 June 10, 2024 17:43
You can execute the E2E runner with:

```bash
cargo run --bin e2e_tests_runner -- --config-toml-path "./share/default/config/tracker.e2e.container.sqlite3.toml"
```

Or:

```bash
TORRUST_TRACKER_CONFIG_TOML_PATH="./share/default/config/tracker.e2e.container.sqlite3.toml" cargo run --bin e2e_tests_runner
```

Or:

```bash
TORRUST_TRACKER_CONFIG_TOML=$(cat "./share/default/config/tracker.e2e.container.sqlite3.toml") cargo run --bin e2e_tests_runner
```
@josecelano josecelano force-pushed the 659-e2e-tests-runner-refactor-use-clap-and-anyhow branch from 41641c4 to c08de75 Compare June 10, 2024 17:45
@codecov
Copy link
Copy Markdown

codecov bot commented Jun 10, 2024

Codecov Report

Attention: Patch coverage is 0% with 25 lines in your changes missing coverage. Please review.

Project coverage is 78.55%. Comparing base (dc171c1) to head (c08de75).

Files Patch % Lines
src/console/ci/e2e/runner.rs 0.00% 25 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #890      +/-   ##
===========================================
- Coverage    78.60%   78.55%   -0.05%     
===========================================
  Files          171      171              
  Lines         9431     9437       +6     
===========================================
  Hits          7413     7413              
- Misses        2018     2024       +6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@josecelano
Copy link
Copy Markdown
Member Author

ACK c08de75

@josecelano josecelano merged commit e50934e into torrust:develop Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

E2E tests runner refactor. Use clap and anyhow

1 participant