testcontainers/testcontainers-spock

Allow non @Shared containers to be started in setupSpec() phase

kiview opened this issue · 0 comments

When trying to test a Spring-Boot app with an exclusive database container, it's necessary to start the container in the setupSpec() phase, so the first SpringApplicationContext can be initialized correctly.