annotate doc/RUNNING_TESTS @ 1483:7e57ccd5f44b insider

Close obsolete branch insider
author Chris Cannam
date Sat, 10 Nov 2012 12:57:50 +0000
parents cbb26bc654de
children 433d4f72a19b
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@909 12 You can run `ruby test/unit/issue_test.rb` for an each test.
Chris@0 13
Chris@909 14 Before running tests, you need to configure both development
Chris@0 15 and test databases.
Chris@0 16
Chris@0 17 Creating test repositories
Chris@0 18 ===================
Chris@0 19
Chris@0 20 Redmine supports a wide array of different version control systems.
Chris@0 21 To test the support, a test repository needs to be created for each of those.
Chris@0 22
Chris@0 23 Run `rake --tasks test:scm:setup` for a list of available test-repositories or
Chris@0 24 run `rake test:scm:setup:all` to set up all of them
Chris@0 25
Chris@0 26 Creating a test ldap database
Chris@0 27 =============================
Chris@0 28
Chris@0 29 Redmine supports using LDAP for user authentications. To test LDAP
Chris@0 30 with Redmine, load the LDAP export from test/fixtures/ldap/test-ldap.ldif
Chris@0 31 into a testing LDAP server. Test that the ldap server can be accessed
Chris@0 32 at 127.0.0.1 on port 389.
Chris@0 33
Chris@0 34 Setting up the test ldap server is beyond the scope of this documentation.
Chris@0 35 The OpenLDAP project provides a simple LDAP implementation that should work
Chris@0 36 good as a test server.