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 / .svn / pristine / dc / dc231e8a382bad8f57c4f1f8d58c2fe3cb3a5e5d.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (1.22 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
You can run `ruby test/unit/issue_test.rb` for an each test.
13

    
14
Before running tests, you need to configure both development
15
and test databases.
16

    
17
Creating test repositories
18
===================
19

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

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

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

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

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