特牛生活网

升级spring boot异常:Junit从4.x升级5.x_jupiter @runwith-CSDN博客

网友收藏
文章浏览阅读507次。@RunWith 替换为 @ExtendWith 替换为包名:org.junit.jupiter.api.extension@Ignore 替换为 @Disabled替换为包名:org.junit.jupiter.api@Assert 替换为 @Assertions替换为包名:org.junit.jupiter.apiAssert.assertThat 替换为 MatcherAssert.assertThat替换为包名:org.hamcrest.MatcherAssert.assertT_jupiter @runwith
标签:jupiter @runwith