Examples of executeCurrentGoals()


Examples of org.apache.maven.surefire.its.fixture.SurefireLauncher.executeCurrentGoals()

  @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

Examples of org.apache.maven.surefire.its.fixture.SurefireLauncher.executeCurrentGoals()

  @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
Copyright © 2018 www.massapi.com. 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.