Class MethodOrderer.MethodName

java.lang.Object
org.junit.jupiter.api.MethodOrderer.MethodName
All Implemented Interfaces:
MethodOrderer
Direct Known Subclasses:
MethodOrderer.Alphanumeric
Enclosing interface:
MethodOrderer

@API(status=EXPERIMENTAL,
     since="5.7")
public static class MethodOrderer.MethodName
extends Object
implements MethodOrderer
MethodOrderer that sorts methods alphanumerically based on their names using String.compareTo(String).

If two methods have the same name, String representations of their formal parameter lists will be used as a fallback for comparing the methods.

Since:
5.7