diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-26 14:36:02 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-26 14:36:02 +0000 |
commit | 9c1077841eb0747b875794eb468a3aa881f97ff5 (patch) | |
tree | b07c362a867d7f38d7e4f5bc222f07bab0a6a618 /lib | |
parent | 08826ed0b65ca997046c735e24d185869eeaa30d (diff) | |
download | redmine-9c1077841eb0747b875794eb468a3aa881f97ff5.tar.gz redmine-9c1077841eb0747b875794eb468a3aa881f97ff5.zip |
Adds first Capybara tests (#12822).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11270 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r-- | lib/tasks/testing.rake | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tasks/testing.rake b/lib/tasks/testing.rake index 474a09092..cfb8e77f9 100644 --- a/lib/tasks/testing.rake +++ b/lib/tasks/testing.rake @@ -100,4 +100,11 @@ namespace :test do t.test_files = FileList['test/integration/routing/*_test.rb'] end Rake::Task['test:rdm_routing'].comment = "Run the routing tests" + + Rake::TestTask.new(:ui => "db:test:prepare") do |t| + t.libs << "test" + t.verbose = true + t.test_files = FileList['test/ui/**/*_test.rb'] + end + Rake::Task['test:ui'].comment = "Run the UI tests with Capybara (PhantomJS listening on port 4444 is required)" end |