Initial config for parallel spec running

This commit is contained in:
Rohan Mitchell
2015-05-01 09:50:12 +10:00
parent 473322c7e6
commit db47c01784
4 changed files with 8 additions and 1 deletions

2
.rspec_parallel Normal file
View File

@@ -0,0 +1,2 @@
--format progress
--format ParallelTests::RSpec::SummaryLogger --out tmp/spec_summary.log

View File

@@ -112,4 +112,5 @@ group :development do
gem 'guard-rails'
gem 'guard-zeus'
gem 'guard-rspec'
gem 'parallel_tests'
end

View File

@@ -362,6 +362,9 @@ GEM
activesupport (>= 3.0.0)
cocaine (~> 0.5.3)
mime-types
parallel (1.4.1)
parallel_tests (1.3.7)
parallel
paypal-sdk-core (0.2.10)
multi_json (~> 1.0)
xml-simple
@@ -575,6 +578,7 @@ DEPENDENCIES
newrelic_rpm
oj
paperclip
parallel_tests
pg
poltergeist
pry-debugger

View File

@@ -10,7 +10,7 @@ development:
test:
adapter: postgresql
encoding: unicode
database: open_food_network_test
database: open_food_network_test<%= ENV['TEST_ENV_NUMBER'] %>
pool: 5
host: localhost
username: ofn