Package org.testng

Interface IDataProviderMethod

All Known Implementing Classes:
DataProviderMethod

public interface IDataProviderMethod
Represents the attributes of a DataProvider annotated method.
  • Method Details

    • getInstance

      Object getInstance()
      Returns:
      - The instance to which the data provider belongs to. null if the data provider is a static one.
    • getMethod

      Method getMethod()
      Returns:
      - A Method object that represents the actual @DataProvider method.
    • getName

      String getName()
      Returns:
      The name of this DataProvider.
    • isParallel

      boolean isParallel()
      Returns:
      Whether this data provider should be run in parallel.
    • getIndices

      List<Integer> getIndices()
      Returns:
      Which indices to run from this data provider, default: all.