Package com.consol.citrus.testng
Class TestNGParameterHelper
- java.lang.Object
-
- com.consol.citrus.testng.TestNGParameterHelper
-
public final class TestNGParameterHelper extends Object
- Author:
- Christoph Deppisch
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidinjectTestParameters(Method method, TestCase testCase, Object[] parameterValues)Methods adds optional TestNG parameters as variables to the test case.static Object[]resolveParameter(Object target, org.testng.ITestResult testResult, Method method, TestContext context, int invocationCount)Resolves method arguments supporting TestNG data provider parameters as well asCitrusResourceannotated methods.
-
-
-
Method Detail
-
resolveParameter
public static Object[] resolveParameter(Object target, org.testng.ITestResult testResult, Method method, TestContext context, int invocationCount)
Resolves method arguments supporting TestNG data provider parameters as well asCitrusResourceannotated methods.- Parameters:
testResult-method-context-invocationCount-- Returns:
-
-