Package net.thucydides.core.steps
Class DataDrivenStepInterceptor
java.lang.Object
net.thucydides.core.steps.DataDrivenStepInterceptor
- All Implemented Interfaces:
Interceptor
public class DataDrivenStepInterceptor extends java.lang.Object implements Interceptor
Invoke a step multiple times, each time initialized with a different set of test data.
-
Constructor Summary
Constructors Constructor Description DataDrivenStepInterceptor(java.util.List<?> instantiatedSteps)
-
Method Summary
Modifier and Type Method Description java.lang.Object
intercept(java.lang.reflect.Method method, java.lang.Object self, java.lang.Object[] args, java.lang.reflect.Method zuperMethod)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DataDrivenStepInterceptor
public DataDrivenStepInterceptor(java.util.List<?> instantiatedSteps)
-
-
Method Details
-
intercept
@RuntimeType public java.lang.Object intercept(@Origin java.lang.reflect.Method method, @This java.lang.Object self, @AllArguments java.lang.Object[] args, @SuperMethod java.lang.reflect.Method zuperMethod) throws java.lang.Throwable- Specified by:
intercept
in interfaceInterceptor
- Throws:
java.lang.Throwable
-