Skip to content

Commit 897d2a3

Browse files
committed
feat: complete Phase C of E2E tests split refactor
- Update docs/e2e-testing.md with comprehensive split approach documentation - Update README.md badges to point to new provision and config workflows - Remove legacy .github/workflows/test-e2e.yml workflow - Rename e2e_tests.rs to e2e_tests_full.rs for local development use - Update Cargo.toml and .cargo/config.toml for new binary configuration - Add clear documentation explaining CI limitations of full local tests - Mark Phase C as completed in refactor plan with detailed implementation results - Validate complete solution with passing linters and tests This completes the E2E test suite split providing: - Reliable CI testing with provision and configuration suites - Preserved full local testing capability for comprehensive validation - Clear separation of concerns for better maintainability
1 parent 6f38b9e commit 897d2a3

File tree

7 files changed

+331
-244
lines changed

7 files changed

+331
-244
lines changed

.cargo/config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[alias]
22
lint = "run --bin linter all"
3-
e2e = "run --bin e2e-tests"
3+
e2e-full = "run --bin e2e-tests-full"
44
e2e-provision = "run --bin e2e-provision-tests"
55
e2e-config = "run --bin e2e-config-tests"
66
cov = "llvm-cov"

.github/workflows/test-e2e.yml

Lines changed: 0 additions & 128 deletions
This file was deleted.

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ name = "torrust-tracker-deploy"
1717
path = "src/main.rs"
1818

1919
[[bin]]
20-
name = "e2e-tests"
21-
path = "src/bin/e2e_tests.rs"
20+
name = "e2e-tests-full"
21+
path = "src/bin/e2e_tests_full.rs"
2222

2323
[[bin]]
2424
name = "e2e-config-tests"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Linting](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/linting.yml/badge.svg)](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/linting.yml) [![Testing](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/testing.yml/badge.svg)](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/testing.yml) [![E2E Tests](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/test-e2e.yml/badge.svg)](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/test-e2e.yml) [![Test LXD Container Provisioning](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/test-lxd-provision.yml/badge.svg)](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/test-lxd-provision.yml)
1+
[![Linting](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/linting.yml/badge.svg)](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/linting.yml) [![Testing](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/testing.yml/badge.svg)](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/testing.yml) [![E2E Provision Tests](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/test-e2e-provision.yml/badge.svg)](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/test-e2e-provision.yml) [![E2E Config Tests](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/test-e2e-config.yml/badge.svg)](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/test-e2e-config.yml) [![Test LXD Container Provisioning](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/test-lxd-provision.yml/badge.svg)](https://github.com/torrust/torrust-tracker-deploy-rust-poc/actions/workflows/test-lxd-provision.yml)
22

33
# Torrust Tracker Deploy
44

0 commit comments

Comments
 (0)