未验证 提交 2f1fefe4 编写于 作者: R Rafael França 提交者: GitHub

Merge pull request #38693 from yahonda/explain_parallel_workers_example

[skip ci] How to run Action View and Action Pack unit test in serial
......@@ -379,6 +379,16 @@ $ cd actionmailer
$ SEED=15002 bundle exec ruby -w -Itest test/mail_layout_test.rb
```
#### Running Tests in Serial
Action Pack and Action View unit tests run in parallel by default. If you are experiencing random
test failures you can set the randomization seed and let these unit tests run in serial by setting `PARALLEL_WORKERS=1`
```bash
$ cd actionview
$ PARALLEL_WORKERS=1 SEED=53708 bundle exec ruby -w -Itest test/template/test_case_test.rb
```
#### Testing Active Record
First, create the databases you'll need. You can find a list of the required
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册