TestNG configurator for 5.3+ versions. TestNG exposes a
TestNG.configure(java.util.Map)
method.
All suppported TestNG options are passed in String format, except
TestNGCommandLineArgs.LISTENER_COMMAND_OPT
which is
List>Class<
,
TestNGCommandLineArgs.JUNIT_DEF_OPT
which is a
Boolean
,
TestNGCommandLineArgs.SKIP_FAILED_INVOCATION_COUNT_OPT
which is a
Boolean
,
TestNGCommandLineArgs.OBJECT_FACTORY_COMMAND_OPT
which is a
Class
,
TestNGCommandLineArgs.REPORTERS_LIST
which is a
List>ReporterConfig<
.
Test classes and/or suite files are not passed along as options parameters, but configured separately.