Package org.apache.maven.surefire.testng.conf

Examples of org.apache.maven.surefire.testng.conf.Configurator


        if ( !StringUtils.isBlank( methodNamePattern ) )
        {
            applyMethodNameFiltering( testng, methodNamePattern );
        }

        Configurator configurator = getConfigurator( version );
        System.out.println( "Configuring TestNG with: " + configurator.getClass().getSimpleName() );
        configurator.configure( testng, options );
        postConfigure( testng, testSourceDirectory, reportManager, suite, reportsDirectory );
        testng.setTestClasses( testClasses );
        testng.run();
    }
View Full Code Here


    public static void run( List suiteFiles, String testSourceDirectory, Map options, ArtifactVersion version,
                            RunListener reportManager, TestNgTestSuite suite, File reportsDirectory )
        throws TestSetFailedException
    {
        TestNG testng = new TestNG( true );
        Configurator configurator = getConfigurator( version );
        configurator.configure( testng, options );
        postConfigure( testng, testSourceDirectory, reportManager, suite, reportsDirectory );
        testng.setTestSuites( suiteFiles );
        testng.run();
    }
View Full Code Here

TOP

Related Classes of org.apache.maven.surefire.testng.conf.Configurator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.