添加示例项目单元测试.

pull/89/head
chen.ma 3 years ago
parent 94f3216d58
commit 976cc97b24

@ -0,0 +1,25 @@
package cn.hippo4j.example;
import lombok.extern.slf4j.Slf4j;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
/**
* Example application.
*
* @author chen.ma
* @date 2022/1/25 21:34
*/
@Slf4j
@RunWith(SpringRunner.class)
@SpringBootTest(classes = ExampleApplication.class)
public class ExampleApplication {
@Test
public void test() {
log.info("test success.");
}
}
Loading…
Cancel
Save