Mercurial > hg > soundsoftware-site
annotate .svn/pristine/dc/dc231e8a382bad8f57c4f1f8d58c2fe3cb3a5e5d.svn-base @ 1524:82fac3dcf466 redmine-2.5-integration
Fix failure to interpret Javascript when autocompleting members for project
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Thu, 11 Sep 2014 10:24:38 +0100 |
parents | cbb26bc654de |
children |
rev | line source |
---|---|
Chris@909 | 1 Installing gems for testing |
Chris@909 | 2 =========================== |
Chris@909 | 3 |
Chris@909 | 4 Run `rake gems RAILS_ENV=test` to list the required gems. Run |
Chris@909 | 5 `rake gems:install RAILS_ENV=test` to install any missing gems. |
Chris@909 | 6 |
Chris@909 | 7 Running Tests |
Chris@909 | 8 ============= |
Chris@909 | 9 |
Chris@909 | 10 Run `rake --tasks test` to see available tests. |
Chris@909 | 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@909 | 13 |
Chris@909 | 14 Before running tests, you need to configure both development |
Chris@909 | 15 and test databases. |
Chris@909 | 16 |
Chris@909 | 17 Creating test repositories |
Chris@909 | 18 =================== |
Chris@909 | 19 |
Chris@909 | 20 Redmine supports a wide array of different version control systems. |
Chris@909 | 21 To test the support, a test repository needs to be created for each of those. |
Chris@909 | 22 |
Chris@909 | 23 Run `rake --tasks test:scm:setup` for a list of available test-repositories or |
Chris@909 | 24 run `rake test:scm:setup:all` to set up all of them |
Chris@909 | 25 |
Chris@909 | 26 Creating a test ldap database |
Chris@909 | 27 ============================= |
Chris@909 | 28 |
Chris@909 | 29 Redmine supports using LDAP for user authentications. To test LDAP |
Chris@909 | 30 with Redmine, load the LDAP export from test/fixtures/ldap/test-ldap.ldif |
Chris@909 | 31 into a testing LDAP server. Test that the ldap server can be accessed |
Chris@909 | 32 at 127.0.0.1 on port 389. |
Chris@909 | 33 |
Chris@909 | 34 Setting up the test ldap server is beyond the scope of this documentation. |
Chris@909 | 35 The OpenLDAP project provides a simple LDAP implementation that should work |
Chris@909 | 36 good as a test server. |