mirror of
https://github.com/1024-lab/smart-admin.git
synced 2026-06-07 22:36:10 +00:00
v2.0
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
package net.lab1024.sa.admin;
|
||||
|
||||
import org.junit.jupiter.api.AfterEach;
|
||||
import org.junit.jupiter.api.BeforeEach;
|
||||
import org.junit.jupiter.api.extension.ExtendWith;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit.jupiter.SpringExtension;
|
||||
|
||||
@ExtendWith(SpringExtension.class)
|
||||
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT)
|
||||
public class SmartAdminApplicationTest {
|
||||
|
||||
@BeforeEach
|
||||
public void before() {
|
||||
System.out.println("----------------------- 测试开始 -----------------------");
|
||||
|
||||
}
|
||||
|
||||
@AfterEach
|
||||
public void after() {
|
||||
System.out.println("----------------------- 测试结束 -----------------------");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user