Package com.hp.lft.unittesting
Class TestNgUnitTestBase
java.lang.Object
com.hp.lft.unittesting.UnitTestBase
com.hp.lft.unittesting.TestNgUnitTestBase
- Direct Known Subclasses:
TestNgCucumberUnitTestBase
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.
-
Field Summary
Fields inherited from class com.hp.lft.unittesting.UnitTestBase
logger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static String
buildFullTestMethodName
(String methodName, Object[] params) protected void
classSetup
(String[] context) protected void
This method is called by OpenText Functional Testing for Developers Eclipse templates to clean up the test class.Returns the collection of parameterized test parameter values extracted from data resource on OpenText Application Quality Management server.protected String
getMethodName
(Method method, Object[] arguments) protected void
protected void
protected void
Methods inherited from class com.hp.lft.unittesting.UnitTestBase
classSetup, getAlternativeClassName, getAlternativeTestName, getClassName, getDefaultReportConfiguration, getFrameworkClassName, getFrameworkClassName, getFrameworkTestName, getFrameworkTestName, getReportConfiguration, getReportConfigurationFromExternalPropertiesFile, getReportConfigurationFromResourcesPropertiesFile, getReporter, getSDKConfiguration, getTestName, innerClassSetup, parameterizedTestSetup, setStatus, setStatus, testSetup, testTearDown, testTearDownNoThrow
-
Constructor Details
-
TestNgUnitTestBase
public TestNgUnitTestBase()
-
-
Method Details
-
suiteSetup
- Throws:
Exception
-
suiteTearDown
- Throws:
Exception
-
classSetup
- 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 classUnitTestBase
-
testSetup
-
buildFullTestMethodName
-
getMethodName
-
getAlmData
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
-