From eb26809dd66e550015f894f1bbaa580d45c03392 Mon Sep 17 00:00:00 2001 From: mitchell amihod Date: Wed, 5 Jul 2023 10:23:30 -0400 Subject: [PATCH] docs(example): Add example on how to execute subset of e2e tests (#2867) Signed-off-by: mitchell amihod <4623+meeech@users.noreply.github.com> --- docs/CONTRIBUTING.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index a325587804..a37ad29fc0 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -104,6 +104,12 @@ Then run the e2e tests: make test-e2e ``` +To run a subset of e2e tests, you need to specify the suite with `-run`, and the specific test regex with `-testify.m`. + +``` +E2E_TEST_OPTIONS="-run 'TestCanarySuite' -testify.m 'TestCanaryScaleDownOnAbortNoTrafficRouting'" make test-e2e +``` + ## Controller architecture Argo Rollouts is actually a collection of individual controllers