如果只是查看springboot的版本之类的公共的
经典解读:
springboot单元测试Unable to find a @SpringBootConfiguration的两种解决方法以及原理 - 简书
SpringBoot Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration_金字塔的旅行的博客-CSDN博客
SpringBoot测试失败并报错: Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration_垃圾王子晗的博客-CSDN博客



