org.testng.IObjectFactory2 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;
/**
* Factory used to create all test instances. This object factory only receives the class
* in parameter.
*
* @see org.testng.IObjectFactory
*
* @author Cedric Beust
*
* @since 5.14.6
*/
public interface IObjectFactory2 extends ITestObjectFactory {
Object newInstance(Class cls);
}