Class Systematiser

java.lang.Object
org.testng.internal.Systematiser

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

    • Systematiser

      private Systematiser()
  • Method Details

    • 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