Class TestContainerExtension<T extends org.testcontainers.containers.GenericContainer<T>>

  • Type Parameters:
    T - The GenericContainer that shall be managed.
    All Implemented Interfaces:
    CustomExtension

    public class TestContainerExtension<T extends org.testcontainers.containers.GenericContainer<T>>
    extends Object
    implements CustomExtension
    TestContainerExtension provides common functionality for TestContainer implementations.
    • Constructor Detail

      • TestContainerExtension

        public TestContainerExtension​(Supplier<T> testContainerCreator)
    • Method Detail

      • getTestContainer

        public T getTestContainer()