Package org.hibernate.testing.orm.junit
Annotation Type FunctionalEntityManagerFactoryTesting
-
@Retention(RUNTIME) @Target({TYPE,METHOD}) @Inherited @TestInstance(PER_CLASS) @ExtendWith(EntityManagerFactoryScopeExtension.class) @ExtendWith(DialectFilterExtension.class) @ExtendWith(FailureExpectedExtension.class) public @interface FunctionalEntityManagerFactoryTesting
Composite annotation for functional tests that require a functioning EntityManagerFactory.- See Also:
EntityManagerFactoryScopeExtension
,DialectFilterExtension
,FailureExpectedExtension
- API Note:
- Logically this should also include `@TestInstance( TestInstance.Lifecycle.PER_CLASS )` but that annotation is not conveyed (is that the right word? its not applied to the thing using this annotation). Test classes should apply that themselves.