From f363c62afdcc68899d6a131862358ce9e12cc56e Mon Sep 17 00:00:00 2001 From: Rob Winch Date: Fri, 13 May 2016 13:54:42 -0500 Subject: [PATCH] Document spring-security-test dependency Fixes gh-3873 --- docs/manual/src/docs/asciidoc/_includes/test.adoc | 7 +++++++ docs/manual/src/docs/asciidoc/index.adoc | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/docs/manual/src/docs/asciidoc/_includes/test.adoc b/docs/manual/src/docs/asciidoc/_includes/test.adoc index 42617e6901..f407fafd83 100644 --- a/docs/manual/src/docs/asciidoc/_includes/test.adoc +++ b/docs/manual/src/docs/asciidoc/_includes/test.adoc @@ -1,6 +1,13 @@ [[test]] = Testing +This section describes the testing support provided by Spring Security. + +[TIP] +==== +To use the Spring Security test support, you must include `spring-security-test-{spring-security-version}.jar` as a dependency of your project. +==== + [[test-method]] == Testing Method Security diff --git a/docs/manual/src/docs/asciidoc/index.adoc b/docs/manual/src/docs/asciidoc/index.adoc index fc577c212c..97002126d3 100644 --- a/docs/manual/src/docs/asciidoc/index.adoc +++ b/docs/manual/src/docs/asciidoc/index.adoc @@ -356,6 +356,11 @@ Spring Security's CAS client integration. If you want to use Spring Security web OpenID web authentication support. Used to authenticate users against an external OpenID server. `org.springframework.security.openid`. Requires OpenID4Java. +[[spring-security-test]] +===== Test - spring-security-test.jar +Support for testing with Spring Security. + + [[get-source]] ==== Checking out the Source Since Spring Security is an Open Source project, we'd strongly encourage you to check out the source code using git. This will give you full access to all the sample applications and you can build the most up to date version of the project easily. Having the source for a project is also a huge help in debugging. Exception stack traces are no longer obscure black-box issues but you can get straight to the line that's causing the problem and work out what's happening. The source is the ultimate documentation for a project and often the simplest place to find out how something actually works.