package wang.yanjiong.metamate.core;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.springframework.boot.test.context.SpringBootTestContextBootstrapper;
import org.springframework.test.context.BootstrapWith;
import wang.yanjiong.metamate.core.api.CreateExtensionAPITest;
import wang.yanjiong.metamate.core.dai.ExtensionDaiTest;

/**
 * Created by WangYanJiong on 30/03/2017.
 */

@RunWith(Suite.class)
@BootstrapWith(SpringBootTestContextBootstrapper.class)
@Suite.SuiteClasses({
        CreateExtensionAPITest.class,
        ExtensionDaiTest.class
})
public class TestCore {
}

@@ -159,82 +159,276 @@
 Test
-ContextBootstrapper;%0Aimport org.springframework.test.context.BootstrapWith
+;%0Aimport org.springframework.boot.test.context.SpringBootTestContextBootstrapper;%0Aimport org.springframework.context.annotation.ComponentScan;%0Aimport org.springframework.test.context.BootstrapWith;%0Aimport org.springframework.test.context.junit4.SpringJUnit4ClassRunner
 ;%0Aim
@@ -769,16 +769,78 @@
 lass%0A%7D)%0A
+@ComponentScan(basePackages = %7B%22com.sinewang.metamate.core%22%7D)%0A
 public c

improve test core