If you're using JUnit 5 (Jupiter), you should use @ExtendWith to use JUnit extensions. Tags: Spring Boot · Annotations · Junit4 · Junit5. Related. Post a Tweet ...
確定! 回上一頁