diff --git a/tests/components/istio/Makefile b/tests/components/istio/Makefile index 00d797d604f2..0c400f40ca6e 100644 --- a/tests/components/istio/Makefile +++ b/tests/components/istio/Makefile @@ -21,6 +21,10 @@ all: help ## Test: test: ## Run the tests of the project +ifeq ($(EXPORT_RESULT), true) + go install github.com/jstemmer/go-junit-report + $(eval OUTPUT_OPTIONS = | tee /dev/tty | go-junit-report -set-exit-code > junit-report.xml) +endif $(GOTEST) -v -race ./... $(OUTPUT_OPTIONS) test-k3d: provision-k3d kyma-istio-deploy test ## Run tests on k3d cluster