diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-12 19:33:09 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-06-12 19:33:09 +0000 |
commit | 4fda1f6cd1ca7bf4af271d5125130f6bb10cd7b4 (patch) | |
tree | 5e60123aff030f8eafb1c7f8702fad252a0b0f62 /doc/RUNNING_TESTS | |
parent | 12ea96066bb4837a3a136fdc24be24c96775b77e (diff) | |
download | redmine-4fda1f6cd1ca7bf4af271d5125130f6bb10cd7b4.tar.gz redmine-4fda1f6cd1ca7bf4af271d5125130f6bb10cd7b4.zip |
Start implementing tests for Redmine.pm perl module.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9826 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'doc/RUNNING_TESTS')
-rw-r--r-- | doc/RUNNING_TESTS | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/doc/RUNNING_TESTS b/doc/RUNNING_TESTS index 9032f3534..be3802dd9 100644 --- a/doc/RUNNING_TESTS +++ b/doc/RUNNING_TESTS @@ -8,8 +8,8 @@ Running Tests ============= Run `rake --tasks test` to see available tests. -Run `rake test` to run the entire test suite (note that this will drop -and recreate your test database) +Run `rake test` to run the entire test suite (except the tests for the +Apache perl module Redmine.pm, see below). You can run `ruby test/unit/issue_test.rb` for running a single test case. @@ -42,3 +42,16 @@ The OpenLDAP project provides a simple LDAP implementation that should work good as a test server. If the LDAP is not available, the tests that need it will be skipped. + +Running Redmine.pm tests +======================== + +(work in progress) + +Running the tests for the Redmine.pm perl module needs a bit more setup. +You need an Apache server with mod_perl, mod_dav_svn and Redmine.pm configured. +See: http://www.redmine.org/projects/redmine/wiki/Repositories_access_control_with_apache_mod_dav_svn_and_mod_perl + +You need an empty repository accessible at http://127.0.0.1/svn/ecookbook +Then, you can run the tests with: +`ruby test\extra\redmine_pm\repository_subversion_test.rb` |