2009-10-18 00:37:23 +04:00
|
|
|
Installing gems for testing
|
|
|
|
===========================
|
|
|
|
|
|
|
|
Run `rake gems RAILS_ENV=test` to list the required gems. Run
|
|
|
|
`rake gems:install RAILS_ENV=test` to install any missing gems.
|
|
|
|
|
2008-03-12 23:28:49 +03:00
|
|
|
Running Tests
|
|
|
|
=============
|
|
|
|
|
2009-01-12 07:44:01 +03:00
|
|
|
Run `rake --tasks test` to see available tests.
|
|
|
|
`rake test` will run the entire testsuite.
|
2008-03-12 23:28:49 +03:00
|
|
|
|
2009-11-08 16:15:59 +03:00
|
|
|
Before running `rake test` you need to configure both development
|
|
|
|
and test databases.
|
2008-03-12 23:28:49 +03:00
|
|
|
|
2009-01-12 07:44:01 +03:00
|
|
|
Creating test repositories
|
|
|
|
===================
|
|
|
|
|
|
|
|
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.
|
2008-03-12 23:28:49 +03:00
|
|
|
|
2009-01-12 07:44:01 +03:00
|
|
|
Run `rake --tasks test:scm:setup` for a list of available test-repositories or
|
|
|
|
run `rake test:scm:setup:all` to set up all of them
|
2008-09-30 04:02:46 +04:00
|
|
|
|