spring_reference/IV. Spring Boot features/35. Testing.md

4 lines
259 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

### 35. 测试
Spring Boot提供很多有用的测试应用的工具。spring-boot-starter-test POM提供Spring TestJUnitHamcrest和Mockito的依赖。在spring-boot核心模块org.springframework.boot.test包下也有很多有用的测试工具。