To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / doc / .svn / text-base / RUNNING_TESTS.svn-base @ 442:753f1380d6bc

History | View | Annotate | Download (1.17 KB)

1
Installing gems for testing
2
===========================
3

    
4
Run `rake gems RAILS_ENV=test` to list the required gems.  Run 
5
`rake gems:install RAILS_ENV=test` to install any missing gems.
6

    
7
Running Tests
8
=============
9

    
10
Run `rake --tasks test` to see available tests.
11
`rake test` will run the entire testsuite.
12

    
13
Before running `rake test` you need to configure both development
14
and test databases.
15

    
16
Creating test repositories
17
===================
18

    
19
Redmine supports a wide array of different version control systems.
20
To test the support, a test repository needs to be created for each of those.
21

    
22
Run `rake --tasks test:scm:setup` for a list of available test-repositories or
23
run `rake test:scm:setup:all` to set up all of them
24

    
25
Creating a test ldap database
26
=============================
27

    
28
Redmine supports using LDAP for user authentications.  To test LDAP
29
with Redmine, load the LDAP export from test/fixtures/ldap/test-ldap.ldif
30
into a testing LDAP server.  Test that the ldap server can be accessed
31
at 127.0.0.1 on port 389.
32

    
33
Setting up the test ldap server is beyond the scope of this documentation.
34
The OpenLDAP project provides a simple LDAP implementation that should work
35
good as a test server.