Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing of the admin-client modules in keycloak-client repository #30804

Open
Tracked by #30787
mposolda opened this issue Jun 26, 2024 · 0 comments
Open
Tracked by #30787

Testing of the admin-client modules in keycloak-client repository #30804

mposolda opened this issue Jun 26, 2024 · 0 comments

Comments

@mposolda
Copy link
Contributor

mposolda commented Jun 26, 2024

This task is about adding the tests to the keycloak-client repository for keycloak-admin-client .

The testsuite in keycloak-client should use junit5 approach instead of arquillian. The Keycloak server should be somehow provisioned and started during the testsuite. Some projects for the inspiration:

For the provisioning of Keycloak server, we may need support download specific version of Keycloak server. By default, it can be version 999.0.0-SNAPSHOT, which means that server will be provisioned from local maven repository or downloaded from latest nightly build if not available in the local maven repository.

In GH actions, we can probably test with the matrix of nightly and last 2 Keycloak released major versions, so that at least one Keycloak version corresponding to released RHBK server is tested.

The keycloak-admin-client should be backwards compatible with the older Keycloak releases (dedicated task for backwards compatibility #30818 ), so testing with last 2 Keycloak server releases should be OK.

Just to clarify: This task is NOT about updating the existing testsuite in the keycloak repository. The testsuite in the keycloak repository already contains big amount of tests for admin REST API, which all use java admin client. This testsuite will use the keycloak-admin-client-tests artifact, which will be inside the keycloak repository (Related task is #30796). That testsuite will remain unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant