Skip to content

Commit d4371b3

Browse files
josephine-barbozaCalamarBicefalo
authored andcommitted
Create pom.xml
1 parent 695c31a commit d4371b3

1 file changed

Lines changed: 50 additions & 0 deletions

File tree

  • testing-modules/parallel-tests-junit
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
<project xmlns="http://maven.apache.org/POM/4.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
6+
<groupId>com.baeldung</groupId>
7+
<artifactId>parallel-tests-junit</artifactId>
8+
<version>0.0.1-SNAPSHOT</version>
9+
<packaging>jar</packaging>
10+
11+
<name>parallel-tests-junit</name>
12+
<url>http://maven.apache.org</url>
13+
14+
<properties>
15+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16+
</properties>
17+
18+
<dependencies>
19+
<dependency>
20+
<groupId>junit</groupId>
21+
<artifactId>junit</artifactId>
22+
<version>4.12</version>
23+
<scope>test</scope>
24+
</dependency>
25+
</dependencies>
26+
<build>
27+
<plugins>
28+
<plugin>
29+
<groupId>org.apache.maven.plugins</groupId>
30+
<artifactId>maven-surefire-plugin</artifactId>
31+
<version>2.22.0</version>
32+
<configuration>
33+
<parallel>all</parallel>
34+
<threadCount>10</threadCount>
35+
<threadCountSuites>2</threadCountSuites>
36+
<threadCountClasses>2</threadCountClasses>
37+
<threadCountMethods>6</threadCountMethods>
38+
<parallelTestTimeoutInSeconds>3.5</parallelTestTimeoutInSeconds>
39+
<parallelTestTimeoutForcedInSeconds>5</parallelTestTimeoutForcedInSeconds>
40+
<perCoreThreadCount>true</perCoreThreadCount>
41+
<includes>
42+
<include>FunctionTestSuite.class</include>
43+
</includes>
44+
45+
</configuration>
46+
47+
</plugin>
48+
</plugins>
49+
</build>
50+
</project>

0 commit comments

Comments
 (0)