org.testng.IObjectFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
A testing framework for the JVM
package org.testng;
import java.lang.reflect.Constructor;
/**
* Factory used to create all test instances. This factory is passed the constructor along with the
* parameters that TestNG calculated based on the environment (@Parameters, etc...).
*
* @see IObjectFactory2
* @author Hani Suleiman
* @since 5.6
*/
public interface IObjectFactory extends ITestObjectFactory {
Object newInstance(Constructor constructor, Object... params);
}