eosc-kc / keycloak

Open Source Identity and Access Management For Modern Applications and Services
https://www.keycloak.org
Apache License 2.0
4 stars 4 forks source link

Create arquilian tests for eosc-kc plugin components #103

Open laskasn opened 3 years ago

laskasn commented 3 years ago

Should investigate whether arquilian integration tests can be formed from within the plugin(s). Should be able to load a keycloak instance, inject the module into the wildfly container, let keycloak pick it up, and then execute the arquillian integration tests. Ideally, we would like to have this for the following plugins:

laskasn commented 3 years ago

No other plugins from the addons directory of keycloak have any integration tests. There is one plugin which mocks the whole keycloak world to run just a few unit tests, but that is -apart from an overkill, not accepted/preferred by the keycloak community, and it's preoblematic with any upcoming new versions with different internal structure. I'll move it to the backlog for now, since i guess this is a low priority task.