generated from aura-ascend/template-library
16 lines
747 B
Kotlin
16 lines
747 B
Kotlin
package ltd.lulz.test.container
|
|
|
|
import ltd.lulz.test.container.extension.PostgresTestExtension
|
|
import ltd.lulz.test.container.postgres.PostgresTestListener
|
|
import org.junit.jupiter.api.extension.ExtendWith
|
|
import org.springframework.test.context.ContextConfiguration
|
|
import org.springframework.test.context.TestExecutionListeners
|
|
import org.springframework.test.context.TestExecutionListeners.MergeMode.MERGE_WITH_DEFAULTS
|
|
|
|
@Target(AnnotationTarget.CLASS)
|
|
@Retention(AnnotationRetention.RUNTIME)
|
|
@ExtendWith(PostgresTestExtension::class)
|
|
@ContextConfiguration(initializers = [PostgresTestExtension::class])
|
|
@TestExecutionListeners(listeners = [PostgresTestListener::class], mergeMode = MERGE_WITH_DEFAULTS)
|
|
annotation class PostgresTestContainer
|