SpringBootTest写法
@RunWith(SpringRunner.class)@SpringBootTest(classes = InquiryApplication.class, webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT , properties = "spring.profiles.active=local")public class BaseTest {}
原创
2021-09-08 16:39:37 ·
272 阅读 ·
0 评论