Class RunInfo

java.lang.Object
org.testng.internal.RunInfo

public class RunInfo extends Object
This class contains all the information needed to determine what methods should be run. It gets invoked by the TestRunner and then goes through its list of method selectors to decide what methods need to be run.
  • Constructor Details

  • Method Details

    • getXmlTest

      public XmlTest getXmlTest()
    • addMethodSelector

      public void addMethodSelector(IMethodSelector selector, int priority)
    • includeMethod

      public boolean includeMethod(ITestNGMethod tm, boolean isTestMethod)
      Returns:
      true as soon as we fond a Method Selector that returns true for the method "tm".
    • setTestMethods

      public void setTestMethods(List<ITestNGMethod> testMethods)