From ccbcb933f8e2021fc2be573c68f592f20a9060a9 Mon Sep 17 00:00:00 2001 From: Carson Long Date: Fri, 22 Sep 2023 10:31:38 -0700 Subject: [PATCH] Chore(bin): Add useful defaults to test script `./bin/test` should: - Randomize all specs and randomize the order in which suites run. This helps suss out spec pollution. - Instruct Ginkgo to keep running suites even after a suite fails. This makes sure we get the full set of failures on a test run. --- bin/test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/test b/bin/test index bd9d9d56c..4e474917f 100755 --- a/bin/test +++ b/bin/test @@ -20,5 +20,5 @@ export CF_PLUGIN_HOME=$HOME pushd "${CATS_ROOT}" > /dev/null echo "Using $(go run github.com/onsi/ginkgo/v2/ginkgo version)" - go run github.com/onsi/ginkgo/v2/ginkgo "$@" + go run github.com/onsi/ginkgo/v2/ginkgo --randomize-all --keep-going "$@" popd > /dev/null