From f5658df8db2616130a118999ca43b6baeaaeda09 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Thu, 1 Aug 2013 03:31:54 +0000 Subject: [PATCH] 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 --- doc/RUNNING_TESTS | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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.