Skip to content

Commit 092c9bb

Browse files
committed
refactor(e2e): relocate driver and feature suites
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 5fe0855 commit 092c9bb

17 files changed

Lines changed: 15 additions & 17 deletions

File tree

‎AGENTS.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Do not rely on this file for a full inventory. The detailed public and contribut
6060
| `python/openshell/` | Python SDK | Python bindings and CLI packaging |
6161
| `sdk/typescript/` | TypeScript SDK | Native Connect client, curated sandbox API, and generated protobuf types |
6262
| `proto/` | Protobuf definitions | gRPC service contracts |
63-
| `e2e/suites/` | Behavioral E2E suites | Conformance stories; other suites remain in tests/suites |
63+
| `e2e/suites/` | Behavioral E2E suites | Conformance scenarios, feature tests, and driver tests |
6464
| `e2e/support/rust/` | Shared Rust test tooling | CLI runner, binary resolution, output parsing, and port utilities |
6565
| `tests/` | Test provisioning | Target configuration, artifact construction, and Ansible setup |
6666
| `deploy/` | Docker, Helm, K8s | Dockerfiles, Helm chart, manifests |

‎TESTING.md‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,13 @@ mise run ci # Everything: lint, compile checks, and tests
1616
- End-to-end tests exercise a configured OpenShell target through a client.
1717
- Benchmarks measure performance or scale separately from behavioral correctness.
1818

19-
End-to-end suites are grouped by intent: conformance verifies
19+
End-to-end suites under `e2e/suites/` are grouped by intent: conformance verifies
2020
required public behavior, feature suites need a named external service or special
2121
gateway configuration, and driver suites verify driver or host integration.
2222
The [conformance guide](e2e/suites/conformance/README.md) owns conformance
2323
requirements, authoring, and execution guidance. Existing mixed suites remain
2424
under `e2e/rust/` while their behavior is migrated. `tests/` supplies provisioning
25-
and artifact construction independently of the suite layout. Driver and feature
26-
suites remain under `tests/suites/` pending their relocation.
25+
and artifact construction independently of the suite layout.
2726

2827
## Test Layout
2928

@@ -33,8 +32,7 @@ crates/*/tests/ # Rust integration tests
3332
python/openshell/ # Python unit tests (*_test.py suffix)
3433
e2e/python/ # Python E2E tests (test_*.py prefix)
3534
e2e/rust/ # Legacy Rust CLI E2E tests awaiting migration
36-
e2e/suites/conformance/ # Conformance stories
37-
tests/suites/ # Existing feature and driver suites
35+
e2e/suites/ # Conformance, feature, and driver E2E suites
3836
tests/ # Target provisioning and artifact construction
3937
```
4038

‎e2e/suites/conformance/README.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,8 @@ and waiver handling remain implementation work.
114114

115115
## Migration scope
116116

117-
The conformance workspace lives under `e2e/suites/conformance/`; feature and
118-
driver workspaces remain under `tests/suites/` until a separate relocation. Existing
117+
The conformance, feature, and driver suite workspaces live under `e2e/suites/`;
118+
target provisioning stays under `tests/`. Existing
119119
assertions and test identities are preserved. The legacy mixed suites under
120120
`e2e/rust/` still need classification and migration by behavioral intent.
121121

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ license = "Apache-2.0"
1010
repository = "https://github.com/NVIDIA/OpenShell"
1111

1212
[dependencies]
13-
openshell-e2e-support = { path = "../../../../e2e/support/rust" }
13+
openshell-e2e-support = { path = "../../../support/rust" }
1414
serde = { version = "1", features = ["derive"] }
1515
tokio = { version = "1.43", features = ["macros", "rt"] }
File renamed without changes.

tests/suites/drivers/podman/fixtures/userns-keep-id.toml renamed to e2e/suites/drivers/podman/fixtures/userns-keep-id.toml

File renamed without changes.

tests/suites/drivers/podman/fixtures/userns-private.toml renamed to e2e/suites/drivers/podman/fixtures/userns-private.toml

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)