Currently, we do not support @Testcontainer running inside a container (e.g., WildFly). We should add checks to make sure this doesn't happen. If class has a field with @Testcontainer:
Check for @Deployment
If found, verify that testable=false is set
Verify that class is annotated with @RunAsClient
If either of these checks fail, error out so the test fails early and with a meaningful message
Currently, we do not support @Testcontainer running inside a container (e.g., WildFly). We should add checks to make sure this doesn't happen. If class has a field with @Testcontainer:
testable=false
is set@RunAsClient