摘要:        
整合JUnit 名称:@SpringBootTest类型:测试类注解位置:测试类定义上方作用:设置JUnit加载的SpringBoot启动类范例: @SpringBootTest(classes = Springboot07JunitApplication.class)class Springboo    阅读全文
posted @ 2023-03-23 16:34
qintee
阅读(29)
评论(0)
推荐(0)
        
            
        
        
摘要:        
Maven的pom.xml设了多环境,Boot的application.yml也设置了多环境 要使得Boot读取到Maven中的配置就需要在Maven的pom.xml中设置<profile.active> pom.xml中主要修改这里 pom.xml全部 <?xml version="1.0" en    阅读全文
posted @ 2023-03-23 14:57
qintee
阅读(158)
评论(0)
推荐(0)
        

浙公网安备 33010602011771号