package com.gkhy.exam.admin; import com.gkhy.exam.system.service.SysCommonService; import lombok.extern.slf4j.Slf4j; import org.junit.jupiter.api.Test; import org.junit.runner.RunWith; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ActiveProfiles; import org.springframework.test.context.junit4.SpringRunner; @RunWith(SpringRunner.class) @SpringBootTest(classes = GkhyAdminApplication.class) @ActiveProfiles("dev") @Slf4j public class ExcelTest { @Autowired private SysCommonService commonService; @Test public void importTest(){ // commonService.importStudent(); } }