diff --git a/Makefile b/Makefile index 9d920f6853..77195f08d3 100644 --- a/Makefile +++ b/Makefile @@ -526,7 +526,8 @@ test-e2e: test-e2e-setup install-ginkgo --ginkgo.vv \ --ginkgo.no-color=$(OPENSHIFT_CI) \ --ginkgo.label-filter="$(TEST_FILTER)" \ - --ginkgo.timeout=2h + --ginkgo.timeout=2h \ + $(GINKGO_ARGS) .PHONY: test-e2e-cleanup test-e2e-cleanup: login-required diff --git a/docs/developer/testing/TESTING.md b/docs/developer/testing/TESTING.md index 44c7073fa8..5dc2ce720c 100644 --- a/docs/developer/testing/TESTING.md +++ b/docs/developer/testing/TESTING.md @@ -86,9 +86,14 @@ FContext("test scenario", func() { ... }) FIt("the assertion", func() { ... }) ... ``` - These need to be removed to run all specs. Checks [Ginkgo docs](https://onsi.github.io/ginkgo/) for more info. +You can also execute make test-e2e with a $GINKGO_ARGS variable set. Example: + +```bash +make test-e2e GINKGO_ARGS="--ginkgo.focus='MySQL application DATAMOVER'" +``` + ## Clean up To clean environment after running E2E tests, run