Annotation Interface AfterBatch


@Retention(RUNTIME) @Target(METHOD) public @interface AfterBatch
Marks a public static void method run once when the same GameTest.batch() finishes or aborts. Cleanup is still attempted when a before-hook fails after batch setup begins or the reported run ends early.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Batch name, must match GameTest.batch() on tests in that batch.