# 测试 本节描述 Spring Security提供的测试支持。 要使用 Spring 安全测试支持,你必须将`spring-security-test-5.6.2.jar`作为项目的依赖项。 在高级 Spring 级别,Security的测试支持为以下方面提供集成: ## 章节摘要 * [方法安全性](method.html) * [MockMVC支持](mockmvc/index.html) * [MockMVC设置](mockmvc/setup.html) * [安全请求后置处理器](mockmvc/request-post-processors.html) * [安全请求者](mockmvc/request-builders.html) * [安全结果匹配器](mockmvc/result-matchers.html) * [安全结果制造者](mockmvc/result-handlers.html) [名称空间配置](../configuration/xml-namespace.html)[方法安全性](method.html)