Top Deprecated
testng 7.10.2

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description
org.testng.IClass.addInstance(Object
- The instance to be added.
instance
)

- As of TestNG v7.10.0

Returns:

All the instances the methods will be invoked upon.
org.testng.IClass.getInstances
(boolean
flag if a new set of instances must be returned (if set to false)
create
)

- As of TestNG v7.10.0

Returns:

All the instances the methods will be invoked upon.
org.testng.IClass.getInstances
(boolean
flag if a new set of instances must be returned (if set to false)
create
,
String
- Text that should be prefixed to the error message when there are issues. Can be empty.
errorMsgPrefix
)

- As of TestNG v7.10.0

org.testng.TestNG.addListener(Object
The listener to add
listener
)

Use addListener(ITestNGListener) instead

org.testng.TestNG.configure(Map<K, V>
The command line
cmdLineArgs
)

use new configure(CommandLineArgs) method

Returns:

The default instance
org.testng.TestNG.getDefault
()

since 5.1

org.testng.TestNG.setParallel(String
Define whether this run will be run in parallel mode.
parallel
)

Use #setParallel(XmlSuite.ParallelMode) instead

org.testng.internal.TestListenerHelper.createListenerFactory(ITestObjectFactory objectFactory, TestNGClassFinder finder, Class<? extends ITestNGListenerFactory> factoryClass, ITestContext context)

- This method stands deprecated as of TestNG version 7.10.0

org.testng.reporters.ExitCodeListener

- This class stands deprecated as of TestNG v7.10.0

org.testng.reporters.SuiteHTMLReporter

- This reporter is deprecated as of TestNG 7.9.0 in favour of org.testng.reporters.jq.Main

org.testng.thread.ITestNGThreadPoolExecutor

- This interface stands deprecated as of TestNG v7.9.0.