com.producement.test.UnitTest.kt Maven / Gradle / Ivy
package com.producement.test
import com.producement.test.time.ClockTestExecutionListener
import org.junit.jupiter.api.TestInstance
import org.junit.jupiter.api.extension.ExtendWith
import org.mockito.junit.jupiter.MockitoExtension
@Target(AnnotationTarget.CLASS)
@Retention(AnnotationRetention.RUNTIME)
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
@ExtendWith(MockitoExtension::class, ClockTestExecutionListener::class)
annotation class UnitTest