Package org.hibernate.testing.orm.junit
Annotation Interface FailureExpected
@Inherited
@Target({TYPE,METHOD})
@Retention(RUNTIME)
@Repeatable(FailureExpectedGroup.class)
@ExtendWith(FailureExpectedExtension.class)
public @interface FailureExpected
Marks a test method or class as being expected to fail.
- See Also:
-
Optional Element Summary
Optional Elements -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
Setting used to indicate that FailureExpected tests should be run and that we should validate they still fail.
-
Field Details
-
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.- See Also:
-
-
Element Details