mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 09:03:49 +08:00
b375dcb14a
Adds the parallel_tests gem, and redis/postgres configuration for running rspec tests in parallel. To use: ``` rake parallel:rake[db:create] rake parallel:rake[db:migrate] rake parallel:spec ``` This brings the test suite from 12m20s to 3m11s on my macOS machine
5 lines
246 B
Plaintext
5 lines
246 B
Plaintext
--format progress
|
|
--format ParallelTests::RSpec::RuntimeLogger --out tmp/parallel_runtime_rspec.log
|
|
--format ParallelTests::RSpec::SummaryLogger --out tmp/spec_summary.log
|
|
--format ParallelTests::RSpec::FailuresLogger --out tmp/failing_specs.log
|