diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5388935857..f190e0aa7f 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -80,7 +80,7 @@ jobs:
run: |
SEP=""
PROJECTS=""
- for i in `find -name '*Test.java' -type f | egrep -v './(testsuite|quarkus|docs|test-poc)/' | sed 's|/src/test/java/.*||' | sort | uniq | sed 's|./||'`; do
+ for i in `find -name '*Test.java' -type f | egrep -v './(testsuite|quarkus|docs|test-poc|test-framework)/' | sed 's|/src/test/java/.*||' | sort | uniq | sed 's|./||'`; do
PROJECTS="$PROJECTS$SEP$i"
SEP=","
done
@@ -923,6 +923,21 @@ jobs:
with:
job-id: migration-tests-${{ matrix.old-version }}-${{ matrix.database }}
+ test-framework:
+ name: Keycloak Test Framework
+ runs-on: ubuntu-latest
+ needs: build
+ timeout-minutes: 30
+ steps:
+ - uses: actions/checkout@v4
+
+ - id: integration-test-setup
+ name: Integration test setup
+ uses: ./.github/actions/integration-test-setup
+
+ - name: Run tests
+ run: ./mvnw test -f test-framework/pom.xml
+
test-poc:
name: Test PoC
runs-on: ubuntu-latest
@@ -941,7 +956,7 @@ jobs:
- name: Run tests
env:
KC_TEST_BROWSER: chrome-headless
- run: mvn clean install -f test-poc
+ run: ./mvnw clean install -f test-poc/pom.xml
check:
name: Status Check - Keycloak CI
diff --git a/pom.xml b/pom.xml
index 5d2d2199fc..7ca4bb43b7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -301,6 +301,7 @@
authz
misc
js
+ test-framework
quarkus
diff --git a/test-poc/framework/README.md b/test-framework/README.md
similarity index 100%
rename from test-poc/framework/README.md
rename to test-framework/README.md
diff --git a/test-poc/framework/pom.xml b/test-framework/pom.xml
similarity index 93%
rename from test-poc/framework/pom.xml
rename to test-framework/pom.xml
index f382fb6d63..80a5b894c7 100755
--- a/test-poc/framework/pom.xml
+++ b/test-framework/pom.xml
@@ -19,17 +19,17 @@
- keycloak-test-parent
- org.keycloak.test
+ keycloak-parent
+ org.keycloak
999.0.0-SNAPSHOT
../pom.xml
4.0.0
- keycloak-test-junit5-framework
- Keycloak JUnit 5 testing framework
+ keycloak-test-framework
+ Keycloak Test Framework
jar
- PoC JUnit 5 testing framework for Keycloak
+ Preview Keycloak testing framework based on JUnit 5
4.23.1
diff --git a/test-poc/framework/src/main/java/org/junit/rules/TestRule.java b/test-framework/src/main/java/org/junit/rules/TestRule.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/junit/rules/TestRule.java
rename to test-framework/src/main/java/org/junit/rules/TestRule.java
diff --git a/test-poc/framework/src/main/java/org/junit/runners/model/Statement.java b/test-framework/src/main/java/org/junit/runners/model/Statement.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/junit/runners/model/Statement.java
rename to test-framework/src/main/java/org/junit/runners/model/Statement.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/KeycloakIntegrationTestExtension.java b/test-framework/src/main/java/org/keycloak/test/framework/KeycloakIntegrationTestExtension.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/KeycloakIntegrationTestExtension.java
rename to test-framework/src/main/java/org/keycloak/test/framework/KeycloakIntegrationTestExtension.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/admin/KeycloakAdminClientSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/admin/KeycloakAdminClientSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/admin/KeycloakAdminClientSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/admin/KeycloakAdminClientSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectAdminClient.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectAdminClient.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectAdminClient.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectAdminClient.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectClient.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectClient.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectClient.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectClient.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectEvents.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectEvents.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectEvents.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectEvents.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectOAuthClient.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectOAuthClient.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectOAuthClient.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectOAuthClient.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectPage.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectPage.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectPage.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectPage.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectRealm.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectRealm.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectRealm.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectRealm.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectSysLogServer.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectSysLogServer.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectSysLogServer.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectSysLogServer.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectTestDatabase.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectTestDatabase.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectTestDatabase.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectTestDatabase.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectUser.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectUser.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectUser.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectUser.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectWebDriver.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectWebDriver.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/InjectWebDriver.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/InjectWebDriver.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/KeycloakIntegrationTest.java b/test-framework/src/main/java/org/keycloak/test/framework/annotations/KeycloakIntegrationTest.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/annotations/KeycloakIntegrationTest.java
rename to test-framework/src/main/java/org/keycloak/test/framework/annotations/KeycloakIntegrationTest.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/config/Config.java b/test-framework/src/main/java/org/keycloak/test/framework/config/Config.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/config/Config.java
rename to test-framework/src/main/java/org/keycloak/test/framework/config/Config.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/database/AbstractDatabaseSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/database/AbstractDatabaseSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/database/AbstractDatabaseSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/database/AbstractDatabaseSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/database/DatabaseConfig.java b/test-framework/src/main/java/org/keycloak/test/framework/database/DatabaseConfig.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/database/DatabaseConfig.java
rename to test-framework/src/main/java/org/keycloak/test/framework/database/DatabaseConfig.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/database/DevFileDatabaseSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/database/DevFileDatabaseSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/database/DevFileDatabaseSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/database/DevFileDatabaseSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/database/DevMemDatabaseSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/database/DevMemDatabaseSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/database/DevMemDatabaseSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/database/DevMemDatabaseSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/database/MSSQLServerDatabaseSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/database/MSSQLServerDatabaseSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/database/MSSQLServerDatabaseSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/database/MSSQLServerDatabaseSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/database/MariaDBDatabaseSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/database/MariaDBDatabaseSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/database/MariaDBDatabaseSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/database/MariaDBDatabaseSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/database/MySQLDatabaseSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/database/MySQLDatabaseSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/database/MySQLDatabaseSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/database/MySQLDatabaseSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/database/OracleDatabaseSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/database/OracleDatabaseSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/database/OracleDatabaseSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/database/OracleDatabaseSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/database/PostgresDatabaseSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/database/PostgresDatabaseSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/database/PostgresDatabaseSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/database/PostgresDatabaseSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/database/TestDatabase.java b/test-framework/src/main/java/org/keycloak/test/framework/database/TestDatabase.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/database/TestDatabase.java
rename to test-framework/src/main/java/org/keycloak/test/framework/database/TestDatabase.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/events/EventParser.java b/test-framework/src/main/java/org/keycloak/test/framework/events/EventParser.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/events/EventParser.java
rename to test-framework/src/main/java/org/keycloak/test/framework/events/EventParser.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/events/Events.java b/test-framework/src/main/java/org/keycloak/test/framework/events/Events.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/events/Events.java
rename to test-framework/src/main/java/org/keycloak/test/framework/events/Events.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/events/EventsSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/events/EventsSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/events/EventsSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/events/EventsSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/events/SysLog.java b/test-framework/src/main/java/org/keycloak/test/framework/events/SysLog.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/events/SysLog.java
rename to test-framework/src/main/java/org/keycloak/test/framework/events/SysLog.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/events/SysLogListener.java b/test-framework/src/main/java/org/keycloak/test/framework/events/SysLogListener.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/events/SysLogListener.java
rename to test-framework/src/main/java/org/keycloak/test/framework/events/SysLogListener.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/events/SysLogServer.java b/test-framework/src/main/java/org/keycloak/test/framework/events/SysLogServer.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/events/SysLogServer.java
rename to test-framework/src/main/java/org/keycloak/test/framework/events/SysLogServer.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/events/SysLogServerSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/events/SysLogServerSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/events/SysLogServerSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/events/SysLogServerSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/injection/AnnotationFields.java b/test-framework/src/main/java/org/keycloak/test/framework/injection/AnnotationFields.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/injection/AnnotationFields.java
rename to test-framework/src/main/java/org/keycloak/test/framework/injection/AnnotationFields.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/injection/DefaultAnnotationProxy.java b/test-framework/src/main/java/org/keycloak/test/framework/injection/DefaultAnnotationProxy.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/injection/DefaultAnnotationProxy.java
rename to test-framework/src/main/java/org/keycloak/test/framework/injection/DefaultAnnotationProxy.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/injection/InstanceContext.java b/test-framework/src/main/java/org/keycloak/test/framework/injection/InstanceContext.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/injection/InstanceContext.java
rename to test-framework/src/main/java/org/keycloak/test/framework/injection/InstanceContext.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/injection/LifeCycle.java b/test-framework/src/main/java/org/keycloak/test/framework/injection/LifeCycle.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/injection/LifeCycle.java
rename to test-framework/src/main/java/org/keycloak/test/framework/injection/LifeCycle.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/injection/Registry.java b/test-framework/src/main/java/org/keycloak/test/framework/injection/Registry.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/injection/Registry.java
rename to test-framework/src/main/java/org/keycloak/test/framework/injection/Registry.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/injection/RequestedInstance.java b/test-framework/src/main/java/org/keycloak/test/framework/injection/RequestedInstance.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/injection/RequestedInstance.java
rename to test-framework/src/main/java/org/keycloak/test/framework/injection/RequestedInstance.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/injection/StringUtil.java b/test-framework/src/main/java/org/keycloak/test/framework/injection/StringUtil.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/injection/StringUtil.java
rename to test-framework/src/main/java/org/keycloak/test/framework/injection/StringUtil.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/injection/Supplier.java b/test-framework/src/main/java/org/keycloak/test/framework/injection/Supplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/injection/Supplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/injection/Supplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/injection/SupplierHelpers.java b/test-framework/src/main/java/org/keycloak/test/framework/injection/SupplierHelpers.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/injection/SupplierHelpers.java
rename to test-framework/src/main/java/org/keycloak/test/framework/injection/SupplierHelpers.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/injection/ValueTypeAlias.java b/test-framework/src/main/java/org/keycloak/test/framework/injection/ValueTypeAlias.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/injection/ValueTypeAlias.java
rename to test-framework/src/main/java/org/keycloak/test/framework/injection/ValueTypeAlias.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/oauth/DefaultOAuthClientConfiguration.java b/test-framework/src/main/java/org/keycloak/test/framework/oauth/DefaultOAuthClientConfiguration.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/oauth/DefaultOAuthClientConfiguration.java
rename to test-framework/src/main/java/org/keycloak/test/framework/oauth/DefaultOAuthClientConfiguration.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/oauth/OAuthCallbackServer.java b/test-framework/src/main/java/org/keycloak/test/framework/oauth/OAuthCallbackServer.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/oauth/OAuthCallbackServer.java
rename to test-framework/src/main/java/org/keycloak/test/framework/oauth/OAuthCallbackServer.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/oauth/OAuthClient.java b/test-framework/src/main/java/org/keycloak/test/framework/oauth/OAuthClient.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/oauth/OAuthClient.java
rename to test-framework/src/main/java/org/keycloak/test/framework/oauth/OAuthClient.java
index 1f37426aa8..c6ffed8c02 100644
--- a/test-poc/framework/src/main/java/org/keycloak/test/framework/oauth/OAuthClient.java
+++ b/test-framework/src/main/java/org/keycloak/test/framework/oauth/OAuthClient.java
@@ -23,10 +23,10 @@ import com.nimbusds.oauth2.sdk.token.AccessToken;
import com.nimbusds.openid.connect.sdk.op.OIDCProviderMetadata;
import jakarta.ws.rs.core.Response;
import org.keycloak.representations.idm.ClientRepresentation;
-import org.keycloak.test.framework.util.ApiUtil;
import org.keycloak.test.framework.realm.ClientConfig;
import org.keycloak.test.framework.realm.ManagedClient;
import org.keycloak.test.framework.realm.ManagedRealm;
+import org.keycloak.test.framework.util.ApiUtil;
import java.io.IOException;
import java.net.URI;
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/oauth/OAuthClientSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/oauth/OAuthClientSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/oauth/OAuthClientSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/oauth/OAuthClientSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/page/AbstractPage.java b/test-framework/src/main/java/org/keycloak/test/framework/page/AbstractPage.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/page/AbstractPage.java
rename to test-framework/src/main/java/org/keycloak/test/framework/page/AbstractPage.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/page/LoginPage.java b/test-framework/src/main/java/org/keycloak/test/framework/page/LoginPage.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/page/LoginPage.java
rename to test-framework/src/main/java/org/keycloak/test/framework/page/LoginPage.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/page/PageSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/page/PageSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/page/PageSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/page/PageSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/page/WelcomePage.java b/test-framework/src/main/java/org/keycloak/test/framework/page/WelcomePage.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/page/WelcomePage.java
rename to test-framework/src/main/java/org/keycloak/test/framework/page/WelcomePage.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ClientConfig.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/ClientConfig.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ClientConfig.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/ClientConfig.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ClientConfigBuilder.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/ClientConfigBuilder.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ClientConfigBuilder.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/ClientConfigBuilder.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ClientSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/ClientSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ClientSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/ClientSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/Collections.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/Collections.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/Collections.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/Collections.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/DefaultClientConfig.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/DefaultClientConfig.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/DefaultClientConfig.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/DefaultClientConfig.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/DefaultRealmConfig.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/DefaultRealmConfig.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/DefaultRealmConfig.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/DefaultRealmConfig.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/DefaultUserConfig.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/DefaultUserConfig.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/DefaultUserConfig.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/DefaultUserConfig.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ManagedClient.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/ManagedClient.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ManagedClient.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/ManagedClient.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ManagedRealm.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/ManagedRealm.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ManagedRealm.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/ManagedRealm.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ManagedUser.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/ManagedUser.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/ManagedUser.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/ManagedUser.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/RealmConfig.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/RealmConfig.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/RealmConfig.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/RealmConfig.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/RealmConfigBuilder.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/RealmConfigBuilder.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/RealmConfigBuilder.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/RealmConfigBuilder.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/RealmSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/RealmSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/RealmSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/RealmSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/Representations.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/Representations.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/Representations.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/Representations.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/UserConfig.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/UserConfig.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/UserConfig.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/UserConfig.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/UserConfigBuilder.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/UserConfigBuilder.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/UserConfigBuilder.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/UserConfigBuilder.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/realm/UserSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/realm/UserSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/realm/UserSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/realm/UserSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/server/AbstractKeycloakTestServerSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/server/AbstractKeycloakTestServerSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/server/AbstractKeycloakTestServerSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/server/AbstractKeycloakTestServerSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/server/DefaultKeycloakTestServerConfig.java b/test-framework/src/main/java/org/keycloak/test/framework/server/DefaultKeycloakTestServerConfig.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/server/DefaultKeycloakTestServerConfig.java
rename to test-framework/src/main/java/org/keycloak/test/framework/server/DefaultKeycloakTestServerConfig.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/server/DistributionKeycloakTestServer.java b/test-framework/src/main/java/org/keycloak/test/framework/server/DistributionKeycloakTestServer.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/server/DistributionKeycloakTestServer.java
rename to test-framework/src/main/java/org/keycloak/test/framework/server/DistributionKeycloakTestServer.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/server/DistributionKeycloakTestServerSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/server/DistributionKeycloakTestServerSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/server/DistributionKeycloakTestServerSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/server/DistributionKeycloakTestServerSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/server/EmbeddedKeycloakTestServer.java b/test-framework/src/main/java/org/keycloak/test/framework/server/EmbeddedKeycloakTestServer.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/server/EmbeddedKeycloakTestServer.java
rename to test-framework/src/main/java/org/keycloak/test/framework/server/EmbeddedKeycloakTestServer.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/server/EmbeddedKeycloakTestServerSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/server/EmbeddedKeycloakTestServerSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/server/EmbeddedKeycloakTestServerSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/server/EmbeddedKeycloakTestServerSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/server/KeycloakTestServer.java b/test-framework/src/main/java/org/keycloak/test/framework/server/KeycloakTestServer.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/server/KeycloakTestServer.java
rename to test-framework/src/main/java/org/keycloak/test/framework/server/KeycloakTestServer.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/server/KeycloakTestServerConfig.java b/test-framework/src/main/java/org/keycloak/test/framework/server/KeycloakTestServerConfig.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/server/KeycloakTestServerConfig.java
rename to test-framework/src/main/java/org/keycloak/test/framework/server/KeycloakTestServerConfig.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/server/RemoteKeycloakTestServer.java b/test-framework/src/main/java/org/keycloak/test/framework/server/RemoteKeycloakTestServer.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/server/RemoteKeycloakTestServer.java
rename to test-framework/src/main/java/org/keycloak/test/framework/server/RemoteKeycloakTestServer.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/server/RemoteKeycloakTestServerSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/server/RemoteKeycloakTestServerSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/server/RemoteKeycloakTestServerSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/server/RemoteKeycloakTestServerSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/util/ApiUtil.java b/test-framework/src/main/java/org/keycloak/test/framework/util/ApiUtil.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/util/ApiUtil.java
rename to test-framework/src/main/java/org/keycloak/test/framework/util/ApiUtil.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/AbstractWebDriverSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/webdriver/AbstractWebDriverSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/AbstractWebDriverSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/webdriver/AbstractWebDriverSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/ChromeHeadlessWebDriverSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/webdriver/ChromeHeadlessWebDriverSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/ChromeHeadlessWebDriverSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/webdriver/ChromeHeadlessWebDriverSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/ChromeWebDriverSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/webdriver/ChromeWebDriverSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/ChromeWebDriverSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/webdriver/ChromeWebDriverSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/FirefoxHeadlessWebDriverSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/webdriver/FirefoxHeadlessWebDriverSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/FirefoxHeadlessWebDriverSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/webdriver/FirefoxHeadlessWebDriverSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/FirefoxWebDriverSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/webdriver/FirefoxWebDriverSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/FirefoxWebDriverSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/webdriver/FirefoxWebDriverSupplier.java
diff --git a/test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/HtmlUnitWebDriverSupplier.java b/test-framework/src/main/java/org/keycloak/test/framework/webdriver/HtmlUnitWebDriverSupplier.java
similarity index 100%
rename from test-poc/framework/src/main/java/org/keycloak/test/framework/webdriver/HtmlUnitWebDriverSupplier.java
rename to test-framework/src/main/java/org/keycloak/test/framework/webdriver/HtmlUnitWebDriverSupplier.java
diff --git a/test-poc/framework/src/main/resources/META-INF/services/org.junit.jupiter.api.extension.Extension b/test-framework/src/main/resources/META-INF/services/org.junit.jupiter.api.extension.Extension
similarity index 100%
rename from test-poc/framework/src/main/resources/META-INF/services/org.junit.jupiter.api.extension.Extension
rename to test-framework/src/main/resources/META-INF/services/org.junit.jupiter.api.extension.Extension
diff --git a/test-poc/framework/src/main/resources/META-INF/services/org.keycloak.test.framework.injection.Supplier b/test-framework/src/main/resources/META-INF/services/org.keycloak.test.framework.injection.Supplier
similarity index 100%
rename from test-poc/framework/src/main/resources/META-INF/services/org.keycloak.test.framework.injection.Supplier
rename to test-framework/src/main/resources/META-INF/services/org.keycloak.test.framework.injection.Supplier
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/events/EventParserTest.java b/test-framework/src/test/java/org/keycloak/test/framework/events/EventParserTest.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/events/EventParserTest.java
rename to test-framework/src/test/java/org/keycloak/test/framework/events/EventParserTest.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/events/SysLogTest.java b/test-framework/src/test/java/org/keycloak/test/framework/events/SysLogTest.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/events/SysLogTest.java
rename to test-framework/src/test/java/org/keycloak/test/framework/events/SysLogTest.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/DefaultAnnotationProxyTest.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/DefaultAnnotationProxyTest.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/DefaultAnnotationProxyTest.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/DefaultAnnotationProxyTest.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/RegistryTest.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/RegistryTest.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/RegistryTest.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/RegistryTest.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/ValueTypeAliasTest.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/ValueTypeAliasTest.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/ValueTypeAliasTest.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/ValueTypeAliasTest.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildAnnotation.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildAnnotation.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildAnnotation.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildAnnotation.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildSupplier.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildSupplier.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildSupplier.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildSupplier.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildValue.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildValue.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildValue.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockChildValue.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockInstances.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockInstances.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockInstances.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockInstances.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParent2Supplier.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParent2Supplier.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParent2Supplier.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParent2Supplier.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentAnnotation.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentAnnotation.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentAnnotation.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentAnnotation.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentSupplier.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentSupplier.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentSupplier.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentSupplier.java
diff --git a/test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentValue.java b/test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentValue.java
similarity index 100%
rename from test-poc/framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentValue.java
rename to test-framework/src/test/java/org/keycloak/test/framework/injection/mocks/MockParentValue.java
diff --git a/test-poc/framework/src/test/resources/META-INF/services/org.keycloak.test.framework.injection.Supplier b/test-framework/src/test/resources/META-INF/services/org.keycloak.test.framework.injection.Supplier
similarity index 100%
rename from test-poc/framework/src/test/resources/META-INF/services/org.keycloak.test.framework.injection.Supplier
rename to test-framework/src/test/resources/META-INF/services/org.keycloak.test.framework.injection.Supplier
diff --git a/test-poc/framework/src/test/resources/logging.properties b/test-framework/src/test/resources/logging.properties
similarity index 100%
rename from test-poc/framework/src/test/resources/logging.properties
rename to test-framework/src/test/resources/logging.properties
diff --git a/test-poc/examples/pom.xml b/test-poc/examples/pom.xml
index 13a7b00d08..83939ba869 100755
--- a/test-poc/examples/pom.xml
+++ b/test-poc/examples/pom.xml
@@ -26,15 +26,15 @@
4.0.0
- keycloak-test-junit5-framework-examples
- Keycloak JUnit5 Framework Examples
+ keycloak-test-framework-examples
+ Keycloak Test Framework Examples
jar
- Example tests to demonstrate new testing framework
+ Example tests to demonstrate the new testing framework
- org.keycloak.test
- keycloak-test-junit5-framework
+ org.keycloak
+ keycloak-test-framework
999.0.0-SNAPSHOT
test
diff --git a/test-poc/pom.xml b/test-poc/pom.xml
index cfb659308a..e303890c31 100755
--- a/test-poc/pom.xml
+++ b/test-poc/pom.xml
@@ -33,7 +33,6 @@
Keycloak Test Parent
- framework
examples
showcase
diff --git a/test-poc/showcase/pom.xml b/test-poc/showcase/pom.xml
index 527217ad23..3d8be32e00 100755
--- a/test-poc/showcase/pom.xml
+++ b/test-poc/showcase/pom.xml
@@ -26,15 +26,15 @@
4.0.0
- keycloak-test-junit5-framework-showcase
- Keycloak JUnit5 Framework Showcase
+ keycloak-test-framework-showcase
+ Keycloak Test Framework Showcase
jar
Showcase of new tests demonstrating the new testing framework usability
- org.keycloak.test
- keycloak-test-junit5-framework
+ org.keycloak
+ keycloak-test-framework
999.0.0-SNAPSHOT
test