Spring Boot 2.2.8 整合JUnit-JPA-Redis

0. 如果要覆盖默认配置,可以在 *-autoconfigure* 里面的 META-INF/spring-configuration-metadata.json中找

1. SpringBoot整合JUnit

 

开始@RunWith出不来,我换成了SpringBoot 2.1.12,然后再切回 2.2.8就可以识别了.

 

2. SpringBoot整合JPA

 

3. SpringBoot整合Redis

 

原文地址:https://www.cnblogs.com/xin1006/p/13234715.html