Commit e0ca367d authored by liaozan's avatar liaozan 🏀

Add @AfterEach for test classes

parent f64e8f7c
package ${package}; package ${package};
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest; import org.springframework.boot.test.context.SpringBootTest;
...@@ -14,6 +15,11 @@ public class ApplicationTest { ...@@ -14,6 +15,11 @@ public class ApplicationTest {
} }
@AfterEach
void clear() {
}
@Test @Test
void applicationTest() { void applicationTest() {
// write your testcase here // write your testcase here
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment