You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

RUNNING_TESTS 1.2KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Installing gems for testing
  2. ===========================
  3. Remove your .bundle/config if you've already installed Redmine without
  4. the test dependencies.
  5. Then, run `bundle install`.
  6. Running Tests
  7. =============
  8. Run `rake --tasks test` to see available tests.
  9. `rake test` will run the entire testsuite.
  10. You can run `ruby test/unit/issue_test.rb` for an each test.
  11. Before running tests, you need to configure both development
  12. and test databases.
  13. Creating test repositories
  14. ===================
  15. Redmine supports a wide array of different version control systems.
  16. To test the support, a test repository needs to be created for each of those.
  17. Run `rake --tasks test:scm:setup` for a list of available test-repositories or
  18. run `rake test:scm:setup:all` to set up all of them
  19. Creating a test ldap database
  20. =============================
  21. Redmine supports using LDAP for user authentications. To test LDAP
  22. with Redmine, load the LDAP export from test/fixtures/ldap/test-ldap.ldif
  23. into a testing LDAP server. Test that the ldap server can be accessed
  24. at 127.0.0.1 on port 389.
  25. Setting up the test ldap server is beyond the scope of this documentation.
  26. The OpenLDAP project provides a simple LDAP implementation that should work
  27. good as a test server.