Video tutorial:www.bilibili.com/video/BV1SJ…

IDEA Automatic import test

Press CTRL + Shift + T — > Create new test

@Test+Assertions

@BeforeEach @AfterEach @BeforeAll @AfterAll

@Service + @Springboottest + @AutoWired (SpringBoot framework available)

@ MockBean @SpyBean