Skip to content

Commit

Permalink
Add parallel_test gem
Browse files Browse the repository at this point in the history
  • Loading branch information
Jamie committed Oct 11, 2024
1 parent 77bdc8e commit fc4fbeb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .rspec_parallel
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
--require rails_helper
--format progress
--format ParallelTests::RSpec::RuntimeLogger --out tmp/parallel_runtime_rspec.log
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ group :test, :development do
gem "erb_lint", require: false
gem "factory_bot_rails"
gem "faker"
gem 'parallel_tests'
gem "pry"
gem "pry-byebug"
gem "pry-rails"
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ GEM
ostruct (0.6.0)
pagy (9.1.0)
parallel (1.25.1)
parallel_tests (4.7.2)
parallel
parser (3.3.5.0)
ast (~> 2.4.1)
racc
Expand Down Expand Up @@ -717,6 +719,7 @@ DEPENDENCIES
omniauth_openid_connect
ostruct (~> 0.6.0)
pagy (~> 9.1)
parallel_tests
pg (~> 1.5)
pg_search
prettier_print
Expand Down
3 changes: 2 additions & 1 deletion config/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ development:

test:
<<: *default
database: itt_mentor_services_test
database: itt_mentor_services_test<%= ENV['TEST_ENV_NUMBER'] %>


production:
<<: *default
Expand Down

0 comments on commit fc4fbeb

Please sign in to comment.