summaryrefslogtreecommitdiffstats
path: root/doc/RUNNING_TESTS
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-26 14:36:02 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-26 14:36:02 +0000
commit9c1077841eb0747b875794eb468a3aa881f97ff5 (patch)
treeb07c362a867d7f38d7e4f5bc222f07bab0a6a618 /doc/RUNNING_TESTS
parent08826ed0b65ca997046c735e24d185869eeaa30d (diff)
downloadredmine-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 'doc/RUNNING_TESTS')
-rw-r--r--doc/RUNNING_TESTS11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/RUNNING_TESTS b/doc/RUNNING_TESTS
index cd216e07c..b6a53542f 100644
--- a/doc/RUNNING_TESTS
+++ b/doc/RUNNING_TESTS
@@ -9,7 +9,7 @@ Running Tests
Run `rake --tasks test` to see available tests.
Run `rake test` to run the entire test suite (except the tests for the
-Apache perl module Redmine.pm, see below).
+Apache perl module Redmine.pm and Capybara tests, see below).
You can run `ruby test/unit/issue_test.rb` for running a single test case.
@@ -58,3 +58,12 @@ Then, you can run the tests with:
If you svn server is not running on localhost, you can use the REDMINE_TEST_DAV_SERVER
environment variable to specify another host.
+
+Running Capybara tests
+======================
+
+You need to have PhantomJS WebDriver listening on port 4444:
+`phantomjs --webdriver 4444`
+
+Capybara tests can be run with:
+`rake test:ui`