BrowserWebDriverContainer leverages JUnit's failed() and succeeded() callbacks. These methods are not called if used with the Spock extension.
FYI in my junit5 branch I created a framework agnostic test lifecycle:
https://github.com/testcontainers/testcontainers-java/blob/junit5/core/src/main/java/org/testcontainers/lifecycle/TestLifecycleAware.java
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If you believe this is a mistake, please reply to this comment to keep it open. If there isn't one already, a PR to fix or at least reproduce the problem in a test case will always help us get back on track to tackle this.
This was released in https://github.com/testcontainers/testcontainers-java/releases/tag/1.14.0 馃帀
Thanks for the contribution!
Most helpful comment
FYI in my junit5 branch I created a framework agnostic test lifecycle:
https://github.com/testcontainers/testcontainers-java/blob/junit5/core/src/main/java/org/testcontainers/lifecycle/TestLifecycleAware.java
https://github.com/testcontainers/testcontainers-java/blob/a3b96542331049db76c4e9e19f9952c8e5485379/modules/selenium/src/main/java/org/testcontainers/containers/BrowserWebDriverContainer.java#L208