Mercurial > hg > soundsoftware-site
comparison doc/RUNNING_TESTS @ 0:513646585e45
* Import Redmine trunk SVN rev 3859
author | Chris Cannam |
---|---|
date | Fri, 23 Jul 2010 15:52:44 +0100 |
parents | |
children | cbb26bc654de |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:513646585e45 |
---|---|
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. |