From 59154504ca362ee748a225089a32997b0dee0d9b Mon Sep 17 00:00:00 2001 From: Matthew Grossman Date: Mon, 30 Nov 2026 10:46:34 -0800 Subject: [PATCH] build(tests): pick up feature suite packages with a workspace glob Signed-off-by: Matthew Grossman --- TESTING.md | 4 ++-- tests/suites/features/Cargo.toml | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/TESTING.md b/TESTING.md index 31a003a12c..5a6b844c3e 100644 --- a/TESTING.md +++ b/TESTING.md @@ -302,8 +302,8 @@ suite, with a name that says what the suite tests. `tests/suites/features/keycloak-provider-refresh` is the example to copy. 1. Add a crate under `tests/suites/features/` that depends on - `openshell-testkit`, and add it to `members` in - `tests/suites/features/Cargo.toml`. + `openshell-testkit`. The workspace picks up every directory under + `tests/suites/features`, so the crate needs no `members` entry. 2. Write the tests in `tests/*.rs` as `#[testkit::test]` functions and use [testkit's harness](tests/testkit/README.md#unsupported-tests) so the suite can skip unsupported tests per environment. diff --git a/tests/suites/features/Cargo.toml b/tests/suites/features/Cargo.toml index b7ea154446..b5ee519f2f 100644 --- a/tests/suites/features/Cargo.toml +++ b/tests/suites/features/Cargo.toml @@ -3,4 +3,5 @@ [workspace] resolver = "2" -members = ["cdi", "connect-ssh-supervision", "docker-updates", "host-gateway", "keycloak-provider-refresh", "kubernetes-updates", "oci-image", "policy-dns-ipv6", "routable-host-ip"] +members = ["*"] +exclude = ["target"]