springboot2.4以上版本移除了默认的junit4引擎,需要自行引入
org.springframework.boot
spring-boot-starter-test
test
org.junit.vintage
junit-vintage-engine
test
org.hamcrest
hamcrest-core



