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 StringbuildFullTestMethodName(String methodName, Object[] params) protected voidclassSetup(String[] context) protected voidThis 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 StringgetMethodName(Method method, Object[] arguments) protected voidprotected voidprotected voidMethods 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:UnitTestBaseThis method is called by OpenText Functional Testing for Developers Eclipse templates to clean up the test class.- Overrides:
classTearDownin 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
-