forked from gzzfw/backEnd/gz-dyh

liyj
2024-08-24 981634fa893b787f2991d99ebf60276eee8d28c7
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package cn.huge.base.common.base;
 
import lombok.extern.slf4j.Slf4j;
import org.junit.After;
import org.junit.Before;
import org.junit.runner.RunWith;
 
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import org.springframework.test.context.web.WebAppConfiguration;
import org.springframework.test.web.servlet.MockMvc;
 
@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest
@WebAppConfiguration
public class BaseServiceTest {
 
    private MockMvc mockMvc;
 
    @Before
    public void init() {
        log.info("开始测试...");
    }
 
    @After
    public void after() {
        log.info("测试结束...");
    }
}