In Keycloak integration testsuite we use a custom extension which overrides the default Arquillian behavior and allows multiple container adapters to be present on classpath at runtime, allowing us to manage multiple instances of different types in a single test run. This might be useful in other projects too so I’m considering creating a standalone Arquillian extension/project for this. What would be the best way to do this?
You can look at the code here: https://github.com/keycloak/keycloak/tree/2.5.3.Final/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/arquillian/containers
Tomas