You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: AGENTS.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -130,10 +130,10 @@ These principles should guide all development decisions, code reviews, and featu
130
130
-**Test**: `cargo test`
131
131
-**Unit Tests**: When writing unit tests, follow conventions described in [`docs/contributing/testing/`](docs/contributing/testing/)
132
132
-**E2E Tests**:
133
-
-`cargo run --bin e2e-tests-full` - Comprehensive tests (⚠️ **LOCAL ONLY** - cannot run on GitHub Actions due to network connectivity issues)
134
-
-`cargo run --bin e2e-provision-and-destroy-tests` - Infrastructure provisioning and destruction tests (GitHub runner-compatible)
135
-
-`cargo run --bin e2e-config-and-release-tests` - Software installation, configuration, release, and run workflow tests (GitHub runner-compatible)
136
-
- Pre-commit hook runs the split tests (`e2e-provision-and-destroy-tests` + `e2e-config-and-release-tests`) for GitHub Copilot compatibility
133
+
-`cargo run --bin e2e-complete-workflow-tests` - Comprehensive tests (⚠️ **LOCAL ONLY** - cannot run on GitHub Actions due to network connectivity issues)
134
+
-`cargo run --bin e2e-infrastructure-lifecycle-tests` - Infrastructure provisioning and destruction tests (GitHub runner-compatible)
135
+
-`cargo run --bin e2e-deployment-workflow-tests` - Software installation, configuration, release, and run workflow tests (GitHub runner-compatible)
136
+
- Pre-commit hook runs the split tests (`e2e-infrastructure-lifecycle-tests` + `e2e-deployment-workflow-tests`) for GitHub Copilot compatibility
137
137
- See [`docs/e2e-testing.md`](docs/e2e-testing.md) for detailed information about CI limitations
138
138
139
139
Follow the project conventions and ensure all checks pass.
Copy file name to clipboardExpand all lines: docs/e2e-testing.md
+18-18Lines changed: 18 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,40 +6,40 @@ This guide explains how to run and understand the End-to-End (E2E) tests for the
6
6
7
7
The E2E tests validate the complete deployment process using two independent test suites:
8
8
9
-
1.**E2E Provision and Destroy Tests** - Test infrastructure provisioning and destruction lifecycle using LXD VMs
10
-
2.**E2E Configuration Tests** - Test software installation and configuration using Docker containers
9
+
1.**E2E Infrastructure Lifecycle Tests** - Test infrastructure provisioning and destruction lifecycle using LXD VMs
10
+
2.**E2E Deployment Workflow Tests** - Test software installation and configuration using Docker containers
11
11
12
12
This split approach ensures reliable testing in CI environments while maintaining comprehensive coverage.
13
13
14
14
## 🚀 Running E2E Tests
15
15
16
16
### Independent Test Suites
17
17
18
-
#### Provision and Destroy Tests
18
+
#### Infrastructure Lifecycle Tests
19
19
20
20
Test infrastructure provisioning and destruction lifecycle (VM creation, cloud-init, and destruction):
21
21
22
22
```bash
23
-
cargo run --bin e2e-provision-and-destroy-tests
23
+
cargo run --bin e2e-infrastructure-lifecycle-tests
24
24
```
25
25
26
-
#### Configuration Tests
26
+
#### Deployment Workflow Tests
27
27
28
28
Test software installation, configuration, release, and run workflows (Ansible playbooks):
29
29
30
30
```bash
31
-
cargo run --bin e2e-config-and-release-tests
31
+
cargo run --bin e2e-deployment-workflow-tests
32
32
```
33
33
34
34
#### Full Local Testing
35
35
36
36
For local development, you can run the complete end-to-end test:
37
37
38
38
```bash
39
-
cargo run --bin e2e-tests-full
39
+
cargo run --bin e2e-complete-workflow-tests
40
40
```
41
41
42
-
⚠️ **Note**: The `e2e-tests-full` binary cannot run on GitHub Actions due to network connectivity issues, but is useful for local validation.
42
+
⚠️ **Note**: The `e2e-complete-workflow-tests` binary cannot run on GitHub Actions due to network connectivity issues, but is useful for local validation.
43
43
44
44
### Command Line Options
45
45
@@ -52,22 +52,22 @@ All test binaries support these options:
52
52
### Examples
53
53
54
54
```bash
55
-
# Run provision and destroy tests
56
-
cargo run --bin e2e-provision-and-destroy-tests
55
+
# Run infrastructure lifecycle tests
56
+
cargo run --bin e2e-infrastructure-lifecycle-tests
57
57
58
-
# Run provision and destroy tests with debugging (keep environment)
59
-
cargo run --bin e2e-provision-and-destroy-tests -- --keep
58
+
# Run infrastructure lifecycle tests with debugging (keep environment)
59
+
cargo run --bin e2e-infrastructure-lifecycle-tests -- --keep
60
60
61
-
# Run configuration tests with debugging
62
-
cargo run --bin e2e-config-and-release-tests -- --keep
61
+
# Run deployment workflow tests with debugging
62
+
cargo run --bin e2e-deployment-workflow-tests -- --keep
63
63
64
64
# Run full local tests with custom templates
65
-
cargo run --bin e2e-tests-full -- --templates-dir ./custom/templates
65
+
cargo run --bin e2e-complete-workflow-tests -- --templates-dir ./custom/templates
66
66
```
67
67
68
68
## 📋 Test Sequences
69
69
70
-
### E2E Provision and Destroy Tests (`e2e-provision-and-destroy-tests`)
0 commit comments