##// END OF EJS Templates
Updates the doc about the configurable test LDAP host....
Jean-Philippe Lang -
r14709:9110b543b518
parent child
Show More
@@ -30,7 +30,7 unpacked into {redmine_root}/tmp/test.
30 If the test repositories are not present, the tests that need them will be
30 If the test repositories are not present, the tests that need them will be
31 skipped.
31 skipped.
32
32
33 Creating a test ldap database
33 Creating a test LDAP database
34 =============================
34 =============================
35
35
36 Redmine supports using LDAP for user authentications. To test LDAP
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 into a testing LDAP server. Make sure that the LDAP server can be accessed
38 into a testing LDAP server. Make sure that the LDAP server can be accessed
39 at 127.0.0.1 on port 389.
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 Setting up the test LDAP server is beyond the scope of this documentation.
44 Setting up the test LDAP server is beyond the scope of this documentation.
42 The OpenLDAP project provides a simple LDAP implementation that should work
45 The OpenLDAP project provides a simple LDAP implementation that should work
43 good as a test server.
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 Then, you can run the tests with:
60 Then, you can run the tests with:
58 `ruby test\extra\redmine_pm\repository_subversion_test.rb`
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 REDMINE_TEST_DAV_SERVER
63 If your svn server is not running on localhost, you can use the
61 environment variable to specify another host.
64 REDMINE_TEST_DAV_SERVER environment variable to specify another host.
62
65
63 Running Capybara tests
66 Running Capybara tests
64 ======================
67 ======================
General Comments 0
You need to be logged in to leave comments. Login now