60 lines
2.0 KiB
XML
60 lines
2.0 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<parent>
|
|
<artifactId>framework</artifactId>
|
|
<groupId>cd.casic.boot</groupId>
|
|
<version>${revision}</version>
|
|
</parent>
|
|
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
<version>${revision}</version>
|
|
<name>${project.artifactId}</name>
|
|
<packaging>jar</packaging>
|
|
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>cd.casic.boot</groupId>
|
|
<artifactId>commons</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cd.casic.boot</groupId>
|
|
<artifactId>spring-boot-starter-mybatis</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>cd.casic.boot</groupId>
|
|
<artifactId>spring-boot-starter-redis</artifactId>
|
|
</dependency>
|
|
|
|
<!-- Test 测试相关 -->
|
|
<dependency>
|
|
<groupId>org.mockito</groupId>
|
|
<artifactId>mockito-inline</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>org.springframework.boot</groupId>
|
|
<artifactId>spring-boot-starter-test</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.h2database</groupId> <!-- 单元测试,我们采用 H2 作为数据库 -->
|
|
<artifactId>h2</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>com.github.fppt</groupId> <!-- 单元测试,我们采用内嵌的 Redis 数据库 -->
|
|
<artifactId>jedis-mock</artifactId>
|
|
</dependency>
|
|
|
|
<dependency>
|
|
<groupId>uk.co.jemos.podam</groupId> <!-- 单元测试,随机生成 POJO 类 -->
|
|
<artifactId>podam</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
|
|
</project>
|