add example on how to run a single test to documentation (#14588)

Contributed by Mischa The Evil.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12072 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Toshi MARUYAMA 2013-08-01 03:31:54 +00:00
parent c49451eb10
commit f5658df8db
1 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,8 @@ Run `rake --tasks test` to see available tests.
Run `rake test` to run the entire test suite (except the tests for the Run `rake test` to run the entire test suite (except the tests for the
Apache perl module Redmine.pm and Capybara tests, 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. You can run `ruby test/unit/issue_test.rb` for running a single test case and
`ruby test/unit/issue_test.rb -n test_create` for running a single test.
Before running tests, you need to configure both development Before running tests, you need to configure both development
and test databases. and test databases.