Search in sources :

Example 1 with IConfiguration

use of org.testng.internal.IConfiguration in project druid by druid-io.

the class DruidTestRunnerFactory method newTestRunner.

@Override
public TestRunner newTestRunner(ISuite suite, XmlTest test, List<IInvokedMethodListener> listeners) {
    IConfiguration configuration = TestNG.getDefault().getConfiguration();
    String outputDirectory = suite.getOutputDirectory();
    IAnnotationFinder annotationFinder = configuration.getAnnotationFinder();
    Boolean skipFailedInvocationCounts = suite.getXmlSuite().skipFailedInvocationCounts();
    return new DruidTestRunner(configuration, suite, test, outputDirectory, annotationFinder, skipFailedInvocationCounts, listeners);
}
Also used : IAnnotationFinder(org.testng.internal.annotations.IAnnotationFinder) IConfiguration(org.testng.internal.IConfiguration)

Aggregations

IConfiguration (org.testng.internal.IConfiguration)1 IAnnotationFinder (org.testng.internal.annotations.IAnnotationFinder)1