mirror of
https://gitee.com/dcren/initializr.git
synced 2025-09-19 01:58:16 +08:00

Spring Boot `1.4.0.M2` brings a new test infrastructure with nice defaults and deprecates `SpringBootConfiguration` in the process. This commits automatically upgrades generated project to this new infrastructure if Spring Boot `1.4.0.M2` or later is available. Closes gh-215
17 lines
307 B
Plaintext
17 lines
307 B
Plaintext
package com.example
|
|
|
|
import org.junit.Test
|
|
import org.junit.runner.RunWith
|
|
import org.springframework.boot.test.context.SpringBootTest
|
|
import org.springframework.test.context.junit4.SpringRunner
|
|
|
|
@RunWith(SpringRunner::class)
|
|
@SpringBootTest
|
|
class DemoApplicationTests {
|
|
|
|
@Test
|
|
fun contextLoads() {
|
|
}
|
|
|
|
}
|