-
Interfaces Interface Description org.testng.IConfigurationListener2 As of release 7.0.0, replaced byIConfigurationListener
org.testng.IObjectFactory - This interface stands deprecated as of TestNG 7.5.0org.testng.IObjectFactory2 - This interface stands deprecated as of TestNG 7.5.0org.testng.junit.IJUnitTestRunner - Support for running JUnit tests stands deprecated as of TestNG7.7.0
-
Classes Class Description org.testng.ConversionUtils org.testng.junit.JUnit3TestClass - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnit3TestMethod - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnit3TestRecognizer - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnit4ConfigurationMethod - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnit4SpockMethod - Support for Spock1.x series is being deprecated as of TestNG7.7.0
org.testng.junit.JUnit4TestClass - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnit4TestMethod - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnit4TestRecognizer - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnit4TestRunner - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnitMethodFinder - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnitTestClass - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnitTestFinder - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnitTestMethod - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.junit.JUnitTestRunner - Support for running JUnit tests stands deprecated as of TestNG7.7.0
org.testng.xml.Parser - This class stands deprecated as of TestNG7.5.0
. There are no alternatives for this class.
-
Methods Method Description org.testng.IInjectorFactory.getInjector(Stage, Module...) - As of TestNG7.5.0
org.testng.IObjectFactory2.newInstance(Class<?>) - This interface stands deprecated as of TestNG 7.5.0org.testng.ISuite.getObjectFactory2() org.testng.junit.IJUnitTestRunner.setTestResultNotifier(ITestResultNotifier) org.testng.TestNG.addListener(Object) Use addListener(ITestNGListener) insteadorg.testng.TestNG.configure(Map) use new configure(CommandLineArgs) methodorg.testng.TestNG.getDefault() since 5.1org.testng.TestNG.setParallel(String) Use #setParallel(XmlSuite.ParallelMode) insteadorg.testng.TestNG.setSourcePath(String) org.testng.xml.XmlSuite.getObjectFactory() - This method stands deprecated as of TestNG7.5.0
. UseXmlSuite.getObjectFactoryClass()
instead.org.testng.xml.XmlSuite.setObjectFactory(ITestObjectFactory)