@Retention(value=RUNTIME) @Target(value=TYPE) @Inherited public @interface OrderWith
@OrderWith or extends a class annotated
with @OrderWith, JUnit will order the tests in the test class (and child
test classes, if any) using the ordering defined by the Ordering class.| Modifier and Type | Required Element and Description |
|---|---|
Class<? extends Ordering.Factory> |
value
Gets a class that extends
Ordering. |
public abstract Class<? extends Ordering.Factory> value
Ordering. The class must have a public no-arg constructor.Copyright © 2002–2020 JUnit. All rights reserved.