Browse Source

Updates the doc about the configurable test LDAP host.

git-svn-id: http://svn.redmine.org/redmine/trunk@15091 e93f8b46-1217-0410-a6f0-8f06a7374b81
tags/3.3.0
Jean-Philippe Lang 8 years ago
parent
commit
9110b543b5
1 changed files with 6 additions and 3 deletions
  1. 6
    3
      doc/RUNNING_TESTS

+ 6
- 3
doc/RUNNING_TESTS View File

@@ -30,7 +30,7 @@ unpacked into {redmine_root}/tmp/test.
If the test repositories are not present, the tests that need them will be
skipped.

Creating a test ldap database
Creating a test LDAP database
=============================

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
into a testing LDAP server. Make sure that the LDAP server can be accessed
at 127.0.0.1 on port 389.

If your LDAP server is not running on localhost, you can use the
REDMINE_TEST_LDAP_SERVER environment variable to specify another host.

Setting up the test LDAP server is beyond the scope of this documentation.
The OpenLDAP project provides a simple LDAP implementation that should work
good as a test server.
@@ -57,8 +60,8 @@ You need an empty repository accessible at http://127.0.0.1/svn/ecookbook
Then, you can run the tests with:
`ruby test\extra\redmine_pm\repository_subversion_test.rb`

If you svn server is not running on localhost, you can use the REDMINE_TEST_DAV_SERVER
environment variable to specify another host.
If your svn server is not running on localhost, you can use the
REDMINE_TEST_DAV_SERVER environment variable to specify another host.

Running Capybara tests
======================

Loading…
Cancel
Save