Adds first Capybara tests (#12822).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11270 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2013-01-26 14:36:02 +00:00
parent 08826ed0b6
commit 9c1077841e
5 changed files with 149 additions and 1 deletions

View File

@@ -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`