Mercurial > hg > soundsoftware-site
diff doc/RUNNING_TESTS @ 1298:4f746d8966dd redmine_2.3_integration
Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:28:30 +0100 |
parents | 622f24f53b42 |
children |
line wrap: on
line diff
--- a/doc/RUNNING_TESTS Fri Jun 14 09:07:32 2013 +0100 +++ b/doc/RUNNING_TESTS Fri Jun 14 09:28:30 2013 +0100 @@ -9,7 +9,7 @@ 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 @@ 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`