@Retention(value=RUNTIME) @Target(value={METHOD,TYPE}) public @interface AfterClassOnce
Annotation used to mark a method which should be run once after the last test execution for the given class. Much like JUnit’s own AfterClass, except this annotation need not be attached to a static method
AfterClass
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.