Project

General

Profile

Feature #21361

Updated by Toshi MARUYAMA about 9 years ago

From #12822#note-32 http://www.redmine.org/issues/12822#note-32 

 <pre><code class="diff"> 
 diff --git a/lib/tasks/redmine.rake b/lib/tasks/redmine.rake 
 --- a/lib/tasks/redmine.rake 
 +++ b/lib/tasks/redmine.rake 
 @@ -171,6 +171,13 @@ DESC 
          t.verbose = true 
          t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/integration/**/*_test.rb" 
        end 
 + 
 +        desc 'Runs the plugins ui tests.' 
 +        Rake::TestTask.new :ui => "db:test:prepare" do |t| 
 +          t.libs << "test" 
 +          t.verbose = true 
 +          t.pattern = "plugins/#{ENV['NAME'] || '*'}/test/ui/**/*_test.rb" 
 +        end 
      end 
    end 
  end 
 </code></pre>

Back