package com.softwaremill.common.test.util.reorder; import java.lang.annotation.Retention; import java.lang.annotation.Target; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.RetentionPolicy.RUNTIME; /** * Marker to place test method as a last to run in its class. * * Beware that not all methods can be reordered, only those which don't have any methods depended upon * (for more see javadoc for org.testng.IMethodInterceptor) * * @author Tomasz Dziurko */ @Target(METHOD) @Retention(RUNTIME) public @interface LastTest { }