- Start in Redmine's directory:
cd /var/lib/redmine
- (only before 1st run) prepare database (load default data separately, https://www.redmine.org/boards/2/topics/48044):
RAILS_ENV=test bundle exec rake db:drop db:create db:migrate
RAILS_ENV=test bundle exec rake redmine:plugins:migrate NAME=issue_recurring
RAILS_ENV=test bundle exec rake redmine:load_default_data
- run tests:
RAILS_ENV=test bundle exec rake redmine:plugins:test NAME=issue_recurring
- (optionally) rerun failing tests separately:
RAILS_ENV=test bundle exec ruby plugins/issue_recurring/test/integration/issue_recurrences_test.rb --name test_create_recurrence --verbose