Stay organized with collections Save and categorize content based on your preferences.


public abstract @interface AfterClassWithInfo
implements Annotation

Similar guarantees as AfterClass but method annotated must require a TestInformation parameter. Runs AFTER AfterClass methods.

Using TestInformation#properties() can help passing information between static & non-static context.


@AfterClassWithInfo public static void afterClassWithInfo(TestInformation testInfo) { assertNotNull(device); }

See also: