denny/ShinyCMS-ruby

View on GitHub
tools/parallel-rspec

Summary

Maintainability
Test Coverage
# ShinyCMS ~ https://shinycms.org
#
# Copyright 2009-2024 Denny de la Haye ~ https://denny.me
#
# ShinyCMS is free software; you can redistribute it and/or modify it under the terms of the GPL (version 2 or later)

# This script uses the parallel_tests gem to run the tests in parallel on multi-core machines
#
# More details:
# https://docs.shinycms.org/Developers/Testing/#parallel-test-runs
# https://github.com/grosser/parallel_tests#readme

RAILS_ENV=test PARALLEL_TEST_FIRST_IS_1=true parallel_rspec spec/ plugins/