The code of life Do you know about Java unit tests? January 23, 2024 by 劉中山 No Comments 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