All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testng.IDataProviderMethod Maven / Gradle / Ivy

There is a newer version: 7.10.1
Show newest version
package org.testng;

import java.lang.reflect.Method;
import java.util.List;

/** Represents the attributes of a {@link org.testng.annotations.DataProvider} annotated method. */
public interface IDataProviderMethod {
  /**
   * @return - The instance to which the data provider belongs to. null if the data
   *     provider is a static one.
   */
  Object getInstance();

  /**
   * @return - A {@link Method} object that represents the actual {@literal @}{@link
   *     org.testng.annotations.DataProvider} method.
   */
  Method getMethod();

  /** The name of this DataProvider. */
  String getName();

  /** Whether this data provider should be run in parallel. */
  boolean isParallel();

  /** Which indices to run from this data provider, default: all. */
  List getIndices();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy