Class Systematiser


  • public final class Systematiser
    extends Object
    Helps determine how should ITestNGMethod be ordered by TestNG.
    • Method Detail

      • getComparator

        public static Comparator<ITestNGMethod> getComparator()
        Returns:
        - A Comparator that helps TestNG sort ITestNGMethods in a specific order. Currently the following two orders are supported :
        1. Based on the name of methods
        2. Based on the toString() implementation that resides within the test class