org.apache.maven.surefire.testng.conf
Class TestNGMapConfigurator
java.lang.Object
org.apache.maven.surefire.testng.conf.TestNGMapConfigurator
- All Implemented Interfaces:
- Configurator
- Direct Known Subclasses:
- TestNG652Configurator
public class TestNGMapConfigurator
- extends Object
- implements Configurator
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.
- Author:
- Alex Popescu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestNGMapConfigurator
public TestNGMapConfigurator()
configure
public void configure(org.testng.TestNG testng,
Map options)
throws TestSetFailedException
- Specified by:
configure
in interface Configurator
- Throws:
TestSetFailedException
convert
protected Object convert(Object val,
Class type)
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.