Package org.apache.maven.surefire.its.fixture

Examples of org.apache.maven.surefire.its.fixture.SurefireLauncher


    @Test
    public void systemPropertyVariables()
        throws VerificationException
    {
        SurefireLauncher launcher = unpack2();

        OutputValidator validator = launcher.executeTest().verifyErrorFree( 1 );

        for ( String line : validator.loadLogLines() )
        {
            if ( "emptyProperty=''".equals( line ) )
            {
View Full Code Here


    @Test
    public void reorderedParallelClasses()
        throws VerificationException
    {
        SurefireLauncher launcher = unpack();

        launcher
            // .runOrder( "balanced" ) call it in 3.x and remove it in surefire-1098-balanced-runorder/pom.xml
            // as soon as there is prefix available "failsafe" and "surefire" in system property for this parameter.
            .parallelClasses().threadCount( 2 ).disablePerCoreThreadCount()
            .executeTest().verifyErrorFree( 4 );

        OutputValidator validator =
            launcher
                // .runOrder( "balanced" ) call it in 3.x and remove it in surefire-1098-balanced-runorder/pom.xml
                // as soon as there is prefix available "failsafe" and "surefire" in system property for this parameter.
                .parallelClasses().threadCount( 2 ).disablePerCoreThreadCount()
                .executeTest().verifyErrorFree( 4 );
View Full Code Here

public class Surefire569RunTestFromDependencyJarsIT
  extends  SurefireJUnit4IntegrationTestCase {

  @Test
  public void shouldScanAndRunTestsInDependencyJars() throws Exception {
    SurefireLauncher launcher = unpack( "surefire-569-RunTestFromDependencyJars" );
    launcher.addGoal("test").addGoal("install");
    launcher.executeCurrentGoals();

    OutputValidator module1 = launcher.getSubProjectValidator("module1");
    module1.assertTestSuiteResults(1, 0, 0, 0);
  }
View Full Code Here

TOP

Related Classes of org.apache.maven.surefire.its.fixture.SurefireLauncher

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.