This note is about the configuration of testing environment with Spring Boot.
Spring Component
Start application
@SpringBootApplication
@ComponentScan("chun.api")
class ApiApplication {
}
fun main(args: Array<String>) {
runApplication<ApiApplication>(*args)
}
竟然无法拒绝你的打赏
