SpringBoot集成Junit 5 出现use @ContextConfiguration or @SpringBootTest(classes=...) with your test的情况总结
SpringBoot集成Junit作为基本的测试操作,通常会由于某些原因,出现报错。本文就是对测试运行出现`Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test`报错进行总结,并不断更新。
原创
2022-12-20 18:17:24 ·
1249 阅读 ·
0 评论