@author yyb @time 2019/3/27
| 14 | * @time 2019/3/27 |
| 15 | */ |
| 16 | @RunWith(SpringRunner.class) |
| 17 | @SpringBootTest(classes = Application.class) |
| 18 | @TestPropertySource("/application.properties") |
| 19 | public class BaseTest { |
| 20 | |
| 21 | @Configuration |
| 22 | @ComponentScan(basePackages = {"cn.abel"}, excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, value = Configuration.class)) |
| 23 | static class ComponentScanConfig { |
| 24 | |
| 25 | } |
| 26 | |
| 27 | |
| 28 | @Test |
| 29 | public void contextLoads() { |
| 30 | } |
| 31 | |
| 32 | } |
nothing calls this directly
no outgoing calls
no test coverage detected