##// END OF EJS Templates
Merged r10531 from trunk....
Merged r10531 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/2.1-stable@10532 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r10097:2a9c0016253b
r10322:f5d5077d2bc1
Show More
RUNNING_TESTS
60 lines | 2.2 KiB | text/plain | TextLexer
Eric Davis
Setup shoulda for testing. (#4005)...
r2811 Installing gems for testing
===========================
Jean-Philippe Lang
Use Bundler for gem management (#5638)....
r8784 Remove your .bundle/config if you've already installed Redmine without
Jean-Philippe Lang
Doc cleanup....
r9642 the test dependencies. Then, run `bundle install`.
Eric Davis
Setup shoulda for testing. (#4005)...
r2811
Jean-Philippe Lang
Merged Git support branch (r1200 to r1226)....
r1222 Running Tests
=============
Eric Davis
Codified instructions from RUNNING_TESTS as rake tasks for convenience...
r2258 Run `rake --tasks test` to see available tests.
Jean-Philippe Lang
Start implementing tests for Redmine.pm perl module....
r9643 Run `rake test` to run the entire test suite (except the tests for the
Apache perl module Redmine.pm, see below).
Jean-Philippe Lang
Doc cleanup....
r9642
You can run `ruby test/unit/issue_test.rb` for running a single test case.
Jean-Philippe Lang
Merged Git support branch (r1200 to r1226)....
r1222
Toshi MARUYAMA
add "ruby test/unit/issue_test.rb" for an each test at doc/RUNNING_TESTS...
r6940 Before running tests, you need to configure both development
Jean-Philippe Lang
Development database required for running rake test (closes #4153)....
r2907 and test databases.
Jean-Philippe Lang
Merged Git support branch (r1200 to r1226)....
r1222
Eric Davis
Codified instructions from RUNNING_TESTS as rake tasks for convenience...
r2258 Creating test repositories
Jean-Philippe Lang
Doc cleanup....
r9642 ==========================
Eric Davis
Codified instructions from RUNNING_TESTS as rake tasks for convenience...
r2258
Redmine supports a wide array of different version control systems.
To test the support, a test repository needs to be created for each of those.
Jean-Philippe Lang
Merged Git support branch (r1200 to r1226)....
r1222
Eric Davis
Codified instructions from RUNNING_TESTS as rake tasks for convenience...
r2258 Run `rake --tasks test:scm:setup` for a list of available test-repositories or
Jean-Philippe Lang
Doc cleanup....
r9642 run `rake test:scm:setup:all` to set up all of them. The repositories are
unpacked into {redmine_root}/tmp/test.
If the test repositories are not present, the tests that need them will be
skipped.
Eric Davis
Slight non-code change to test git sync...
r1918
Eric Davis
Added some tests for the LDAP authentication....
r3324 Creating a test ldap database
=============================
Redmine supports using LDAP for user authentications. To test LDAP
with Redmine, load the LDAP export from test/fixtures/ldap/test-ldap.ldif
Jean-Philippe Lang
Doc cleanup....
r9642 into a testing LDAP server. Make sure that the LDAP server can be accessed
Eric Davis
Added some tests for the LDAP authentication....
r3324 at 127.0.0.1 on port 389.
Jean-Philippe Lang
Doc cleanup....
r9642 Setting up the test LDAP server is beyond the scope of this documentation.
Eric Davis
Added some tests for the LDAP authentication....
r3324 The OpenLDAP project provides a simple LDAP implementation that should work
good as a test server.
Jean-Philippe Lang
Doc cleanup....
r9642
If the LDAP is not available, the tests that need it will be skipped.
Jean-Philippe Lang
Start implementing tests for Redmine.pm perl module....
r9643
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`
Jean-Philippe Lang
Doc update....
r10097
If you svn server is not running on localhost, you can use the REDMINE_TEST_DAV_SERVER
environment variable to specify another host.