WrenSecurity / wrenidm

Community‐developed identity management system with a flexible data model, multiple extension points and scripting support, including JavaScript and Groovy.
https://wrensecurity.org/
Other
40 stars 19 forks source link

Add integration tests for JDBC repo module #109

Closed pavelhoral closed 7 months ago

pavelhoral commented 3 years ago

In this issue I would like to explore the possibility of adding Testcontainers based integration tests for openidm-repo-jdbc module.

Motivation

I would like to refactor openidm-repo-jdbc module and I would also like to do it in a safe way in relation to supported databases. It would be very helpful to have a way to automatically test integration with all the supported databases.

Approach

Database integration testing can be done either inside dedicated GitHub CI pipeline or on module level within Maven verify phase. I would like to explore the latter - i.e. add failsafe test phase that would test against Testcontainers.

Output

This issue should explore:

This issue is definitely open for discussion, all comments are welcome.

pavelhoral commented 7 months ago

This has been already solved #169 (and was duplicated in #115).