generated from aura-ascend/template-library
TestContainer Postgres
This commit was merged in pull request #1.
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user