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