Skip to content

Commit 0cbd8d6

Browse files
authored
Merge pull request #18446 from Alexandru-Borza/move-wire-mock
move wire-mock tests
2 parents 35ab925 + 6d8c068 commit 0cbd8d6

File tree

7 files changed

+67
-16
lines changed

7 files changed

+67
-16
lines changed

testing-modules/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
<module>selenium-testng</module>
5858
<module>spring-mockito</module>
5959
<module>spring-testing-2</module>
60+
<module>spring-testing-3</module>
6061
<module>spring-testing</module>
6162
<module>testing-assertions</module>
6263
<module>test-containers</module>

testing-modules/spring-testing-2/pom.xml

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,6 @@
6666
<version>${hsqldb.version}</version>
6767
<scope>test</scope>
6868
</dependency>
69-
<dependency>
70-
<groupId>org.wiremock.integrations</groupId>
71-
<artifactId>wiremock-spring-boot</artifactId>
72-
<version>2.2.0</version>
73-
<scope>test</scope>
74-
</dependency>
75-
<dependency>
76-
<groupId>com.fasterxml.jackson.core</groupId>
77-
<artifactId>jackson-core</artifactId>
78-
<version>${jackson.version}</version>
79-
</dependency>
80-
<dependency>
81-
<groupId>com.fasterxml.jackson.core</groupId>
82-
<artifactId>jackson-databind</artifactId>
83-
<version>${jackson.version}</version>
84-
</dependency>
8569

8670
</dependencies>
8771

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.idea/**
2+
target/**
3+
*.iml
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<project xmlns="http://maven.apache.org/POM/4.0.0"
3+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5+
<modelVersion>4.0.0</modelVersion>
6+
<artifactId>spring-testing-3</artifactId>
7+
<version>0.1-SNAPSHOT</version>
8+
<name>spring-testing-3</name>
9+
10+
<parent>
11+
<groupId>com.baeldung</groupId>
12+
<artifactId>parent-boot-2</artifactId>
13+
<version>0.0.1-SNAPSHOT</version>
14+
<relativePath>../../parent-boot-2</relativePath>
15+
</parent>
16+
17+
<dependencies>
18+
<dependency>
19+
<groupId>org.springframework.boot</groupId>
20+
<artifactId>spring-boot-starter-web</artifactId>
21+
</dependency>
22+
<dependency>
23+
<groupId>org.junit.jupiter</groupId>
24+
<artifactId>junit-jupiter</artifactId>
25+
<scope>test</scope>
26+
</dependency>
27+
28+
<dependency>
29+
<groupId>org.wiremock.integrations</groupId>
30+
<artifactId>wiremock-spring-boot</artifactId>
31+
<version>2.2.0</version>
32+
<scope>test</scope>
33+
</dependency>
34+
<dependency>
35+
<groupId>com.fasterxml.jackson.core</groupId>
36+
<artifactId>jackson-core</artifactId>
37+
<version>${jackson.version}</version>
38+
</dependency>
39+
<dependency>
40+
<groupId>com.fasterxml.jackson.core</groupId>
41+
<artifactId>jackson-databind</artifactId>
42+
<version>${jackson.version}</version>
43+
</dependency>
44+
45+
</dependencies>
46+
47+
<build>
48+
<plugins>
49+
<!-- this surefire configuration allows concurrent execution; do not remove -->
50+
<plugin>
51+
<groupId>org.apache.maven.plugins</groupId>
52+
<artifactId>maven-surefire-plugin</artifactId>
53+
<version>${maven-surefire-plugin.version}</version>
54+
<configuration>
55+
<parallel>methods</parallel>
56+
<useUnlimitedThreads>true</useUnlimitedThreads>
57+
</configuration>
58+
</plugin>
59+
</plugins>
60+
</build>
61+
62+
</project>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
wiremock.server.baseUrl= http://localhost:8080

0 commit comments

Comments
 (0)