Annotation Interface KoraAppTest
@ExtendWith(ru.tinkoff.kora.test.extension.junit5.KoraJUnit5Extension.class)
@Documented
@Target(TYPE)
@Retention(RUNTIME)
public @interface KoraAppTest
In case you want to initialize
KoraAppGraph per Test Class, annotate your Test Class with TestInstance.Lifecycle.PER_CLASS,
by default TestInstance.Lifecycle.PER_METHOD is used, indicating that new KoraAppGraph will be initialized each Test Method-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements
-
Element Details
-
value
Class<?> value- Returns:
- class annotated with
KoraApp
-
-
-
components
Class<?>[] components- Returns:
Componentthat should be included in Context initialization in addition toTestComponentfound in tests
- Default:
- {}
-