在测试类test中,导junit包后
会有以上两种导入方式,在我这里用第一种后,会出现
长时间卡在 download additional dependcies中,或者
在查资料后发现
import org.junit.jupiter.api.Test 用在Spring Boot 2.2.X以后
import org.junit.Test用在2.2.x之前
在我这儿
应该用第二种 完美运行
在测试类test中,导junit包后
会有以上两种导入方式,在我这里用第一种后,会出现
长时间卡在 download additional dependcies中,或者
在查资料后发现
import org.junit.jupiter.api.Test 用在Spring Boot 2.2.X以后
import org.junit.Test用在2.2.x之前
在我这儿
应该用第二种 完美运行