package com.xly.erp; import org.junit.jupiter.api.Test; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.test.context.ActiveProfiles; @SpringBootTest @ActiveProfiles("test") class ErpApplicationTest { @Test void contextLoads() { // Spring ApplicationContext 启动成功 + Flyway 完成 baseline / migrate 即视为通过 } }