Skip to content

Commit 217b54c

Browse files
test(conformance): add a mise task for the conformance suite on Docker
`mise run e2e:testkit` runs the conformance sandbox suite against a Docker-backed gateway started by e2e/with-docker-gateway.sh, the same way the runner runs it in a guest. It is the quick way to run the suite locally. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
1 parent 7828f35 commit 217b54c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎tasks/test.toml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ hide = true
159159
description = "Run Rust CLI e2e tests against a Docker-backed gateway"
160160
run = "e2e/rust/e2e-docker.sh"
161161

162+
["e2e:testkit"]
163+
description = "Run the testkit suites in tests/suites/conformance against a Docker-backed gateway"
164+
run = "e2e/with-docker-gateway.sh cargo test --locked --manifest-path tests/suites/conformance/Cargo.toml -p sandbox -- --test-threads 1 --nocapture"
165+
162166
["e2e:oci-image"]
163167
description = "Run the shared OCI image feature suite against a Docker-backed gateway"
164168
run = "OPENSHELL_TEST_CONTAINER_ENGINE=docker e2e/with-docker-gateway.sh cargo test --locked --manifest-path tests/suites/features/Cargo.toml -p openshell-test-feature-oci-image -- --test-threads 1 --nocapture"
@@ -167,10 +171,6 @@ run = "OPENSHELL_TEST_CONTAINER_ENGINE=docker e2e/with-docker-gateway.sh cargo t
167171
description = "Run the shared OCI image feature suite against a Podman-backed gateway"
168172
run = "OPENSHELL_TEST_CONTAINER_ENGINE=podman e2e/with-podman-gateway.sh cargo test --locked --manifest-path tests/suites/features/Cargo.toml -p openshell-test-feature-oci-image -- --test-threads 1 --nocapture"
169173

170-
["e2e:testkit"]
171-
description = "Run the testkit suites in tests/suites/conformance against a Docker-backed gateway"
172-
run = "e2e/with-docker-gateway.sh cargo nextest run --locked --manifest-path tests/suites/conformance/Cargo.toml --workspace --exclude openshell-test-conformance-cli --test-threads 1 --no-fail-fast"
173-
174174
["e2e:rust:push"]
175175
description = "Run CLI conformance and policy e2e tests against a Docker gateway that pushes configuration"
176176
depends = ["e2e:conformance:build"]

0 commit comments

Comments
 (0)