summaryrefslogtreecommitdiffstats
path: root/doc/RUNNING_TESTS
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-04-06 06:27:42 +0000
committerGo MAEDA <maeda@farend.jp>2021-04-06 06:27:42 +0000
commitbd31345c87f8d19a98edb5977507bc8f76da1688 (patch)
treeccb39a5b9910ce286a550e20c7acff621f2c13be /doc/RUNNING_TESTS
parent684f88313760cf33f844ee3b265e46a6b0cbb739 (diff)
downloadredmine-bd31345c87f8d19a98edb5977507bc8f76da1688.tar.gz
redmine-bd31345c87f8d19a98edb5977507bc8f76da1688.zip
Allow parallel testing (#35030).
Patch by Go MAEDA. git-svn-id: http://svn.redmine.org/redmine/trunk@20920 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'doc/RUNNING_TESTS')
-rw-r--r--doc/RUNNING_TESTS4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/RUNNING_TESTS b/doc/RUNNING_TESTS
index 35e271a34..fa4737e11 100644
--- a/doc/RUNNING_TESTS
+++ b/doc/RUNNING_TESTS
@@ -14,6 +14,10 @@ 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 and
`ruby test/unit/issue_test.rb -n test_create` for running a single test.
+You can run tests in parallel by setting the PARALLEL_WORKERS environment
+variable:
+`PARALLEL_WORKERS=8 rake test`
+
Before running tests, you need to configure both development
and test databases.