Annotation Interface ExpectSystemExitWithStatus


@Retention(RUNTIME) @Target({TYPE,METHOD,ANNOTATION_TYPE}) @ExtendWith(SystemExitExtension.class) public @interface ExpectSystemExitWithStatus
This is a marker annotation that indicates the given test method or class is expected to call System.exit() with a specific code
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    int
     
  • Element Details

    • value

      int value