Class TestNgUnitTestBase

java.lang.Object
com.hp.lft.unittesting.UnitTestBase
com.hp.lft.unittesting.TestNgUnitTestBase
Direct Known Subclasses:
TestNgCucumberUnitTestBase

public abstract class TestNgUnitTestBase extends UnitTestBase
The base class of the OpenText Functional Testing for Developers TestNG Eclipse template classes provided when creating a new OpenText Functional Testing for Developers project.
  • Constructor Details

    • TestNgUnitTestBase

      public TestNgUnitTestBase()
  • Method Details

    • suiteSetup

      protected void suiteSetup() throws Exception
      Throws:
      Exception
    • suiteTearDown

      protected void suiteTearDown() throws Exception
      Throws:
      Exception
    • classSetup

      protected void classSetup(String[] context) throws Exception
      Throws:
      Exception
    • classTearDown

      protected void classTearDown()
      Description copied from class: UnitTestBase
      This method is called by OpenText Functional Testing for Developers Eclipse templates to clean up the test class.
      Overrides:
      classTearDown in class UnitTestBase
    • testSetup

      protected void testSetup(String[] context)
    • buildFullTestMethodName

      protected static String buildFullTestMethodName(String methodName, Object[] params)
    • getMethodName

      protected String getMethodName(Method method, Object[] arguments)
    • getAlmData

      protected static Iterable<String[]> getAlmData() throws Exception
      Returns the collection of parameterized test parameter values extracted from data resource on OpenText Application Quality Management server.
      Returns:
      the collection of parameterized test parameter values extracted from data resource on OpenText Application Quality Management server.
      Throws:
      Exception - if error occurs in the OpenText Application Quality Management Data process