- All Implemented Interfaces:
org.testng.ITestObjectFactory
public class TestNGFactory
extends Object
implements org.testng.ITestObjectFactory
This class is responsible for creating instances of all test classes.
-
Constructor Summary
Constructors
-
Method Summary
Creates test class instances.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.testng.ITestObjectFactory
newInstance, newInstance, newInstance
-
Constructor Details
-
TestNGFactory
public TestNGFactory()
-
Method Details
-
createInstances
@Factory
public Object[] createInstances()
Creates test class instances.
- Returns:
- the instances