49 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
		
		
			
		
	
	
			49 lines
		
	
	
		
			1.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
|  | <?xml version="1.0"?> | ||
|  | <project | ||
|  | 	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
|  | 	xmlns="http://maven.apache.org/POM/4.0.0" | ||
|  | 	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
|  | 	<modelVersion>4.0.0</modelVersion> | ||
|  | 	<parent> | ||
|  | 		<groupId>com.baeldung</groupId> | ||
|  | 		<artifactId>parallel-tests-junit</artifactId> | ||
|  | 		<version>0.0.1-SNAPSHOT</version> | ||
|  | 	</parent> | ||
|  | 	<artifactId>math-test-functions</artifactId> | ||
|  | 	<name>math-test-functions</name> | ||
|  | 	<url>http://maven.apache.org</url> | ||
|  | 	<properties> | ||
|  | 		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
|  | 	</properties> | ||
|  | 	<dependencies> | ||
|  | 		<dependency> | ||
|  | 			<groupId>junit</groupId> | ||
|  | 			<artifactId>junit</artifactId> | ||
|  | 			<version>4.12</version> | ||
|  | 			<scope>test</scope> | ||
|  | 		</dependency> | ||
|  | 	</dependencies> | ||
|  | 	<build> | ||
|  | 		<plugins> | ||
|  | 			<plugin> | ||
|  | 				<groupId>org.apache.maven.plugins</groupId> | ||
|  | 				<artifactId>maven-surefire-plugin</artifactId> | ||
|  | 				<version>2.22.0</version> | ||
|  | 				<configuration> | ||
|  | 					<parallel>all</parallel> | ||
|  | 					<threadCount>10</threadCount> | ||
|  | 					<threadCountSuites>2</threadCountSuites> | ||
|  | 					<threadCountClasses>2</threadCountClasses> | ||
|  | 					<threadCountMethods>6</threadCountMethods> | ||
|  | 					<parallelTestTimeoutInSeconds>3.5</parallelTestTimeoutInSeconds> | ||
|  | 					<parallelTestTimeoutForcedInSeconds>5</parallelTestTimeoutForcedInSeconds> | ||
|  | 					<perCoreThreadCount>true</perCoreThreadCount> | ||
|  | 					<includes> | ||
|  | 						<include>FunctionTestSuite.class</include> | ||
|  | 					</includes> | ||
|  | 				</configuration> | ||
|  | 			</plugin> | ||
|  | 		</plugins> | ||
|  | 	</build> | ||
|  | </project> |