pom.xml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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. <parent>
  6. <groupId>com.zqt.ccj</groupId>
  7. <artifactId>patrol-framework</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>patrol-spring-boot-starter-test</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>测试组件,用于单元测试、集成测试</description>
  15. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.zqt.ccj</groupId>
  19. <artifactId>patrol-common</artifactId>
  20. </dependency>
  21. <!-- DB 相关 -->
  22. <dependency>
  23. <groupId>com.zqt.ccj</groupId>
  24. <artifactId>patrol-spring-boot-starter-mybatis</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>com.zqt.ccj</groupId>
  28. <artifactId>patrol-spring-boot-starter-redis</artifactId>
  29. </dependency>
  30. <!-- Test 测试相关 -->
  31. <dependency>
  32. <groupId>org.mockito</groupId>
  33. <artifactId>mockito-inline</artifactId>
  34. </dependency>
  35. <dependency>
  36. <groupId>org.springframework.boot</groupId>
  37. <artifactId>spring-boot-starter-test</artifactId>
  38. </dependency>
  39. <dependency>
  40. <groupId>com.h2database</groupId> <!-- 单元测试,我们采用 H2 作为数据库 -->
  41. <artifactId>h2</artifactId>
  42. </dependency>
  43. <dependency>
  44. <groupId>com.github.fppt</groupId> <!-- 单元测试,我们采用内嵌的 Redis 数据库 -->
  45. <artifactId>jedis-mock</artifactId>
  46. </dependency>
  47. <dependency>
  48. <groupId>uk.co.jemos.podam</groupId> <!-- 单元测试,随机生成 POJO 类 -->
  49. <artifactId>podam</artifactId>
  50. </dependency>
  51. </dependencies>
  52. </project>