Package org.testng

Class TestNGUtils

java.lang.Object
org.testng.TestNGUtils

public class TestNGUtils extends Object
  • Constructor Details

    • TestNGUtils

      public TestNGUtils()
  • Method Details

    • createITestNGMethod

      public static ITestNGMethod createITestNGMethod(ITestNGMethod existingMethod, Method method)
      Create an ITestNGMethod for @code{method} based on @code{existingMethod}, which needs to belong to the same class.
      Parameters:
      existingMethod - The test method
      method - The method
      Returns:
      The created test method