package com.xly.erp; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ActiveProfiles; /** * 骨架健康自检:证明 pom 依赖 / 启动类 / application.yml 自洽, * Flyway 能对测试库 apply V1,MyBatis-Plus 装配成功。 * *
REQ-USR-001 T1。
*/ @SpringBootTest @ActiveProfiles("test") class ErpApplicationTests { @Test void contextLoads() { // Spring 上下文成功加载即通过。 } }