在 Spring Boot 2.x 中应用JUnit 4.x 进行单元测试

来自姬鸿昌的知识库
Jihongchang讨论 | 贡献2023年1月28日 (六) 22:38的版本
跳到导航 跳到搜索

pom.xml

        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-test</artifactId>
            <scope>test</scope>
        </dependency>