@RunWith(SpringRunner.class)是启动器,表示能在spring环境下进行junit测试。 @SpringBootTest标识该类可以运行基于springboot的测试。
posted on 2024-01-26 23:02 wucanqin 阅读(3) 评论(0) 编辑 收藏 举报