1 package org.apache.maven.surefire.its.jiras;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22 import org.apache.maven.surefire.its.fixture.OutputValidator;
23 import org.apache.maven.surefire.its.fixture.SurefireJUnit4IntegrationTestCase;
24 import org.junit.Test;
25
26
27
28
29
30
31 @SuppressWarnings( "checkstyle:magicnumber" )
32 public class Surefire613TestCountInParallelIT
33 extends SurefireJUnit4IntegrationTestCase
34 {
35 @Test
36 public void testParallelBuildResultCount()
37 {
38 OutputValidator validator = unpack( "/surefire-613-testCount-in-parallel" ).failNever().executeTest();
39
40 validator.verifyTextInLog( "testAllok to stdout" );
41 validator.verifyTextInLog( "testAllok to stderr" );
42 validator.verifyTextInLog( "testWithException1 to stdout" );
43 validator.verifyTextInLog( "testWithException1 to stderr" );
44 validator.assertTestSuiteResults( 30, 8, 4, 17 );
45 }
46 }