org.testng.annotations
Annotation Type DataProvider


@Retention(value=RUNTIME)@Target(value=METHOD)public @interface DataProvider

Mark a method as supplying data for a test method. The data provider name defaults to method name. The annotated method must return an Object[][] where each Object[] can be assigned the parameter list of the test method. The @Test method that wants to receive data from this DataProvider needs to use a dataProvider name equals to the name of this annotation.

Author:
cbeust


Optional Element Summary
 int[]indices
          Which indices to run from this data provider, default: all.
 Stringname
          The name of this DataProvider.
 booleanparallel
          Whether this data provider should be run in parallel.
 

name

public abstract String name
The name of this DataProvider.

Default:
""

parallel

public abstract boolean parallel
Whether this data provider should be run in parallel.

Default:
false

indices

public abstract int[] indices
Which indices to run from this data provider, default: all.

Default:
{}


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14