pom.xml 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  3. xmlns="http://maven.apache.org/POM/4.0.0"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>com.yushu</groupId>
  7. <artifactId>iot-framework</artifactId>
  8. <version>${revision}</version>
  9. <relativePath>../pom.xml</relativePath>
  10. </parent>
  11. <modelVersion>4.0.0</modelVersion>
  12. <artifactId>iot-spring-boot-starter-test</artifactId>
  13. <packaging>jar</packaging>
  14. <name>${project.artifactId}</name>
  15. <description>测试组件,用于单元测试、集成测试</description>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.yushu</groupId>
  19. <artifactId>iot-common</artifactId>
  20. </dependency>
  21. <!-- Test 测试相关 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-test</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.h2database</groupId> <!-- 单元测试,我们采用 H2 作为数据库 -->
  28. <artifactId>h2</artifactId>
  29. </dependency>
  30. <dependency>
  31. <groupId>com.github.fppt</groupId> <!-- 单元测试,我们采用内嵌的 Redis 数据库 -->
  32. <artifactId>jedis-mock</artifactId>
  33. </dependency>
  34. <dependency>
  35. <groupId>uk.co.jemos.podam</groupId> <!-- 单元测试,随机生成 POJO 类 -->
  36. <artifactId>podam</artifactId>
  37. </dependency>
  38. </dependencies>
  39. </project>