pom.xml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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>cn.iocoder.boot</groupId>
  7. <artifactId>yudao-framework</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>yudao-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>cn.iocoder.boot</groupId>
  19. <artifactId>yudao-common</artifactId>
  20. </dependency>
  21. <!-- DB 相关 -->
  22. <dependency>
  23. <groupId>cn.iocoder.boot</groupId>
  24. <artifactId>yudao-spring-boot-starter-mybatis</artifactId>
  25. </dependency>
  26. <dependency>
  27. <groupId>cn.iocoder.boot</groupId>
  28. <artifactId>yudao-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>