Testing

This section describes the testing support provided by Spring Security.

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

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

  • Method Security - provides test support for Spring Security’s method security.

  • MockMvc - Provides test support to integrate with Spring’s MockMvc.