From 776a50451a361e7d389cabed24165371e74b171c Mon Sep 17 00:00:00 2001 From: Denis Subbotin Date: Mon, 27 Apr 2020 19:48:02 +0300 Subject: [PATCH 1/2] add junit --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index a7265a19..bcef751d 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,7 @@ VAULT_CLIENT_TIMEOUT = 180s test: linter VAULT_ACC=1 \ - go test $(TEST) $(TESTARGS) -v -timeout=$(TEST_TIMEOUT) -parallel=20 + go test $(TEST) $(TESTARGS) -v -timeout=$(TEST_TIMEOUT) -parallel=20 -json | tee tests.json policy_test: go test github.com/Venafi/vault-pki-monitor-venafi/plugin/pki -run ^TestBackend_VenafiPolicy*$ From ec56a5af299e6eca2c30770c0c57aa824b53b0f1 Mon Sep 17 00:00:00 2001 From: Denis Subbotin Date: Mon, 27 Apr 2020 21:00:26 +0300 Subject: [PATCH 2/2] change junit integrations --- Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bcef751d..2f9c662f 100644 --- a/Makefile +++ b/Makefile @@ -51,7 +51,8 @@ VAULT_CLIENT_TIMEOUT = 180s test: linter VAULT_ACC=1 \ - go test $(TEST) $(TESTARGS) -v -timeout=$(TEST_TIMEOUT) -parallel=20 -json | tee tests.json + go get gotest.tools/gotestsum + gotestsum --junitfile junit.xml policy_test: go test github.com/Venafi/vault-pki-monitor-venafi/plugin/pki -run ^TestBackend_VenafiPolicy*$