RUNNING_TESTS 1.17 KB
Newer Older
1 2 3 4 5 6
Installing gems for testing
===========================

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

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

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

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

16 17 18 19 20
Creating test repositories
===================

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

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

25 26 27 28 29 30 31 32 33 34 35
Creating a test ldap database
=============================

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

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.