Package org.hibernate.testing.orm.junit
Annotation Type FailureExpected
-
@Inherited @Target({TYPE,METHOD,ANNOTATION_TYPE}) @Retention(RUNTIME) @Repeatable(FailureExpectedGroup.class) @ExtendWith(FailureExpectedExtension.class) public @interface FailureExpected
Marks a test method or class as being expected to fail.- See Also:
FailureExpectedExtension
-
-
Field Summary
Fields Modifier and Type Fields Description static java.lang.String
VALIDATE_FAILURE_EXPECTED
Setting used to indicate that FailureExpected tests should be run and that we should validate they still fail.
-
-
-
Field Detail
-
VALIDATE_FAILURE_EXPECTED
static final java.lang.String VALIDATE_FAILURE_EXPECTED
Setting used to indicate that FailureExpected tests should be run and that we should validate they still fail. Note that in this "validation mode", a test failure is interpreted as a success which is the main difference from JUnit's support.
-
-