You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@grails.apache.org by ma...@apache.org on 2026/05/11 11:33:21 UTC
(grails-spring-security) 02/02: build: add script for running all tests
This is an automated email from the ASF dual-hosted git repository.
matrei pushed a commit to branch simplify-tests
in repository https://gitbox.apache.org/repos/asf/grails-spring-security.git
commit 71fcae729521cb406ba9340fb7f9a01f78cc2dc5
Author: Mattias Reichel <ma...@gmail.com>
AuthorDate: Mon May 11 13:32:56 2026 +0200
build: add script for running all tests
The functional tests are divided over multiple "configs" that are
triggered by setting a TESTCONFIG system property. This script will
loop through all current available TESTCONFIG values and run them.
This functionality is already exercised in CI, and this script
makes also makes it easy to run all tests locally.
---
etc/bin/run-all-test-configs.sh | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
diff --git a/etc/bin/run-all-test-configs.sh b/etc/bin/run-all-test-configs.sh
new file mode 100755
index 000000000..c78758055
--- /dev/null
+++ b/etc/bin/run-all-test-configs.sh
@@ -0,0 +1,20 @@
+#!/usr/bin/env sh
+set -eu
+
+trap 'echo "Interrupted"; exit 130' INT
+
+./gradlew check
+
+for config in \
+ static \
+ annotation \
+ requestmap \
+ basic \
+ basicCacheUsers \
+ misc \
+ putWithParams \
+ bcrypt \
+ issue503
+do
+ ./gradlew core-examples-functional-test-app:check -DTESTCONFIG="$config"
+done
\ No newline at end of file