1 package org.apache.maven.surefire.its.jiras;
2
3 import org.apache.maven.surefire.its.fixture.OutputValidator;
4 import org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase;
5 import org.apache.maven.surefire.its.fixture.SurefireLauncher;
6 import org.junit.Test;
7
8
9
10
11
12
13 public class Surefire569RunTestFromDependencyJarsIT
14 extends SurefireJUnit4IntegrationTestCase {
15
16 @Test
17 public void shouldScanAndRunTestsInDependencyJars() throws Exception {
18 SurefireLauncher launcher = unpack( "surefire-569-RunTestFromDependencyJars" );
19 launcher.addGoal("test").addGoal("install");
20 launcher.executeCurrentGoals();
21
22 OutputValidator module1 = launcher.getSubProjectValidator("module1");
23 module1.assertTestSuiteResults(1, 0, 0, 0);
24 }
25 }