Switching from JUnit 4 to JUnit 5: tutorial does not describe required updates to imports
mristau-gn opened this issue · 0 comments
mristau-gn commented
I'm not an experienced java developer so I may be missing something, but when I went thru this section my build started to fail. I had to look in the repo to realize I needed to also update the imports.
My BlogApplicationTests.kt at the end of this section, which works, is:
package blog
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.extension.ExtendWith
import org.springframework.boot.test.context.SpringBootTest
import org.springframework.test.context.junit.jupiter.SpringExtension
@ExtendWith(SpringExtension::class)
@SpringBootTest
class BlogApplicationTests {
@Test
fun contextLoads() {
}
}