public class TestNGMapConfigurator extends Object implements Configurator
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.Constructor and Description |
---|
TestNGMapConfigurator() |
public void configure(org.testng.TestNG testng, Map options) throws TestSetFailedException
configure
in interface Configurator
TestSetFailedException
public void configure(org.testng.xml.XmlSuite suite, Map options) throws TestSetFailedException
configure
in interface Configurator
TestSetFailedException
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.