Package com.ginsberg.junit.exit
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
-
Element Details
-
value
int value
-