Class Systematiser


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

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Comparator<ITestNGMethod> getComparator()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getComparator

        public static java.util.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