Annotation Type InjectTest
@ExtendWith(InjectJunitExtension.class)
@Target(TYPE)
@Retention(RUNTIME)
public @interface InjectTest
An avaje-inject test supporting
@Inject along with Mockito annotations -
@Mock, @Spy, @Captor.
This is a JUnit 5 extension.
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Wiring profiles to usebooleanCreate a new test beanscope for each test method
-
Element Details
-
profiles
-
scopePerTest
boolean scopePerTestCreate a new test beanscope for each test method- Default:
false
-