Skip to content

Commit afa62b6

Browse files
committed
feat: add e2e-config alias and update development workflow documentation
- Add cargo alias 'e2e-config' for running E2E configuration tests - Change 'linter' alias to 'lint' for shorter, more common convention - Update copilot instructions to reflect split E2E testing approach - Simplify linting documentation focusing on comprehensive script approach - Update E2E testing workflow from single command to split provision/config approach
1 parent 904c9db commit afa62b6

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

.cargo/config.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[alias]
2-
linter = "run --bin linter all"
2+
lint = "run --bin linter all"
33
e2e = "run --bin e2e-tests"
44
e2e-provision = "run --bin e2e-provision-tests"
5+
e2e-config = "run --bin e2e-config-tests"
56
cov = "llvm-cov"
67
cov-lcov = "llvm-cov --lcov --output-path=./.coverage/lcov.info"
78
cov-codecov = "llvm-cov --codecov --output-path=./.coverage/codecov.json"

.github/copilot-instructions.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,8 @@ This is a deployment infrastructure proof-of-concept for the Torrust ecosystem.
3333
```bash
3434
# Run cargo machete
3535
cargo machete
36-
# Run linters (recommended - tests both stable & nightly)
36+
# Run linters
3737
./scripts/lint.sh
38-
# Or run linters with single toolchain
39-
cargo run --bin linter all
4038
# Run tests
4139
cargo test
4240
# Run e2e tests
@@ -53,13 +51,11 @@ This is a deployment infrastructure proof-of-concept for the Torrust ecosystem.
5351

5452
## 🧪 Build & Test
5553

54+
- **Lint**: `./scripts/lint.sh` (comprehensive - tests stable & nightly toolchains)
55+
- **Dependencies**: `cargo machete` (mandatory before commits - no unused dependencies)
5656
- **Build**: `cargo build`
5757
- **Test**: `cargo test`
5858
- **Unit Tests**: When writing unit tests, follow conventions described in [`docs/contributing/testing.md`](../docs/contributing/testing.md)
59-
- **Lint**: `./scripts/lint.sh` (comprehensive - tests stable & nightly toolchains)
60-
- Alternative: `cargo run --bin linter all` (single toolchain)
61-
- Options: `./scripts/lint.sh --stable` or `./scripts/lint.sh --nightly`
62-
- **Dependencies**: `cargo machete` (mandatory before commits - no unused dependencies)
63-
- **E2E**: `cargo run --bin e2e-tests`
59+
- **E2E Tests**: `cargo e2e-provision && cargo e2e-config`
6460

6561
Follow the project conventions and ensure all checks pass.

0 commit comments

Comments
 (0)