@@ -30,7 +30,7 unpacked into {redmine_root}/tmp/test. | |||
|
30 | 30 | If the test repositories are not present, the tests that need them will be |
|
31 | 31 | skipped. |
|
32 | 32 | |
|
33 |
Creating a test |
|
|
33 | Creating a test LDAP database | |
|
34 | 34 | ============================= |
|
35 | 35 | |
|
36 | 36 | Redmine supports using LDAP for user authentications. To test LDAP |
@@ -38,6 +38,9 with Redmine, load the LDAP export from test/fixtures/ldap/test-ldap.ldif | |||
|
38 | 38 | into a testing LDAP server. Make sure that the LDAP server can be accessed |
|
39 | 39 | at 127.0.0.1 on port 389. |
|
40 | 40 | |
|
41 | If your LDAP server is not running on localhost, you can use the | |
|
42 | REDMINE_TEST_LDAP_SERVER environment variable to specify another host. | |
|
43 | ||
|
41 | 44 | Setting up the test LDAP server is beyond the scope of this documentation. |
|
42 | 45 | The OpenLDAP project provides a simple LDAP implementation that should work |
|
43 | 46 | good as a test server. |
@@ -57,8 +60,8 You need an empty repository accessible at http://127.0.0.1/svn/ecookbook | |||
|
57 | 60 | Then, you can run the tests with: |
|
58 | 61 | `ruby test\extra\redmine_pm\repository_subversion_test.rb` |
|
59 | 62 | |
|
60 |
If you svn server is not running on localhost, you can use the |
|
|
61 | environment variable to specify another host. | |
|
63 | If your svn server is not running on localhost, you can use the | |
|
64 | REDMINE_TEST_DAV_SERVER environment variable to specify another host. | |
|
62 | 65 | |
|
63 | 66 | Running Capybara tests |
|
64 | 67 | ====================== |
General Comments 0
You need to be logged in to leave comments.
Login now