Testing

本节介绍了 Spring Security 所提供的测试支持。

This section describes the testing support provided by Spring Security.

要使用 Spring Security 测试支持,您必须将 spring-security-test-{spring-security-version}.jar 作为项目的依赖项进行导入。

To use the Spring Security test support, you must include spring-security-test-{spring-security-version}.jar as a dependency of your project.

Spring Security 的测试支持在高层次上为以下内容提供集成:

At a high level Spring Security’s test support provides integration for: