Преглед на файлове

Document spring-security-test dependency

Fixes gh-3873
Rob Winch преди 9 години
родител
ревизия
f363c62afd
променени са 2 файла, в които са добавени 12 реда и са изтрити 0 реда
  1. 7 0
      docs/manual/src/docs/asciidoc/_includes/test.adoc
  2. 5 0
      docs/manual/src/docs/asciidoc/index.adoc

+ 7 - 0
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
 

+ 5 - 0
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.