annotate doc/RUNNING_TESTS @ 892:f171d5dfaef0 bug_67

Close obsolete branch bug_67
author Chris Cannam
date Wed, 09 Feb 2011 12:16:25 +0000
parents 513646585e45
children cbb26bc654de
rev   line source
Chris@0 1 Installing gems for testing
Chris@0 2 ===========================
Chris@0 3
Chris@0 4 Run `rake gems RAILS_ENV=test` to list the required gems. Run
Chris@0 5 `rake gems:install RAILS_ENV=test` to install any missing gems.
Chris@0 6
Chris@0 7 Running Tests
Chris@0 8 =============
Chris@0 9
Chris@0 10 Run `rake --tasks test` to see available tests.
Chris@0 11 `rake test` will run the entire testsuite.
Chris@0 12
Chris@0 13 Before running `rake test` you need to configure both development
Chris@0 14 and test databases.
Chris@0 15
Chris@0 16 Creating test repositories
Chris@0 17 ===================
Chris@0 18
Chris@0 19 Redmine supports a wide array of different version control systems.
Chris@0 20 To test the support, a test repository needs to be created for each of those.
Chris@0 21
Chris@0 22 Run `rake --tasks test:scm:setup` for a list of available test-repositories or
Chris@0 23 run `rake test:scm:setup:all` to set up all of them
Chris@0 24
Chris@0 25 Creating a test ldap database
Chris@0 26 =============================
Chris@0 27
Chris@0 28 Redmine supports using LDAP for user authentications. To test LDAP
Chris@0 29 with Redmine, load the LDAP export from test/fixtures/ldap/test-ldap.ldif
Chris@0 30 into a testing LDAP server. Test that the ldap server can be accessed
Chris@0 31 at 127.0.0.1 on port 389.
Chris@0 32
Chris@0 33 Setting up the test ldap server is beyond the scope of this documentation.
Chris@0 34 The OpenLDAP project provides a simple LDAP implementation that should work
Chris@0 35 good as a test server.