diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-08-01 03:31:54 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2013-08-01 03:31:54 +0000 |
commit | f5658df8db2616130a118999ca43b6baeaaeda09 (patch) | |
tree | 65a119df5a1300293deff8436f6af86d046cb38c /doc | |
parent | c49451eb102d62fcc0982721ccad14087883f9ce (diff) | |
download | redmine-f5658df8db2616130a118999ca43b6baeaaeda09.tar.gz redmine-f5658df8db2616130a118999ca43b6baeaaeda09.zip |
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
Diffstat (limited to 'doc')
-rw-r--r-- | doc/RUNNING_TESTS | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/RUNNING_TESTS b/doc/RUNNING_TESTS index b6a53542f..b3b59aa82 100644 --- a/doc/RUNNING_TESTS +++ b/doc/RUNNING_TESTS @@ -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 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 and test databases. |