Unit-test with mocking, that does not determines the implementation
[demos/testing] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4         <modelVersion>4.0.0</modelVersion>
5         <parent>
6                 <groupId>org.springframework.boot</groupId>
7                 <artifactId>spring-boot-starter-parent</artifactId>
8                 <version>2.2.2.RELEASE</version>
9                 <relativePath/> <!-- lookup parent from repository -->
10         </parent>
11         <groupId>de.juplo.demos</groupId>
12         <artifactId>unit-vs-integration</artifactId>
13         <version>0.0.1-SNAPSHOT</version>
14         <name>Demo Unit-Tests vs. Integration-Tests</name>
15         <description>Demo project for the blog-article "UnitTest or IntegrationTest? A Practical Guide"</description>
16
17         <properties>
18                 <java.version>1.8</java.version>
19         </properties>
20
21         <dependencies>
22                 <dependency>
23                         <groupId>org.springframework.boot</groupId>
24                         <artifactId>spring-boot-starter-webflux</artifactId>
25                 </dependency>
26                 <dependency>
27                         <groupId>org.springframework.boot</groupId>
28                         <artifactId>spring-boot-starter-thymeleaf</artifactId>
29                 </dependency>
30
31                 <dependency>
32                         <groupId>org.springframework.boot</groupId>
33                         <artifactId>spring-boot-starter-test</artifactId>
34                         <scope>test</scope>
35                         <exclusions>
36                                 <exclusion>
37                                         <groupId>org.junit.vintage</groupId>
38                                         <artifactId>junit-vintage-engine</artifactId>
39                                 </exclusion>
40                         </exclusions>
41                 </dependency>
42
43                 <dependency>
44                         <groupId>org.springframework.boot</groupId>
45                         <artifactId>spring-boot-devtools</artifactId>
46                         <optional>true</optional>
47                 </dependency>
48         </dependencies>
49
50         <build>
51                 <plugins>
52                         <plugin>
53                                 <groupId>org.springframework.boot</groupId>
54                                 <artifactId>spring-boot-maven-plugin</artifactId>
55                         </plugin>
56                 </plugins>
57         </build>
58
59 </project>