File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 5656 desc 'run rspec test suite'
5757 task :rspec , %i[ pattern ] => %i[ test:environment log:clear ] do |_ , args |
5858 pattern = args [ :pattern ] &.delete_prefix ( './' ) # parallel_tests doesn't support this prefix
59- options = ENV [ 'PARALLEL_TEST_OPTIONS' ]
59+ options = [ '--group-by=filesize' , ENV [ 'PARALLEL_TEST_OPTIONS' ] ] . compact . join ( " " )
6060
6161 if pattern &.match? ( /((\[ \d +(:\d +)*\] )|(:\d +))$/ ) # parallel_tests doesn't support line numbers/example IDs
6262 RSpec ::Core ::RakeTask . new ( :spec ) unless Rake ::Task . task_defined? ( 'spec' ) # make sure task always exists
8686 desc 'run cucumber test suite'
8787 task :cucumber , %i[ pattern ] => %i[ test:environment log:clear ] do |_ , args |
8888 pattern = args [ :pattern ] &.delete_prefix ( './' ) # parallel_tests doesn't support this prefix
89- options = ENV [ 'PARALLEL_TEST_OPTIONS' ]
89+ options = [ '--group-by=scenarios' , ENV [ 'PARALLEL_TEST_OPTIONS' ] ] . compact . join ( " " )
9090
9191 if pattern &.match? ( /:\d +$/ ) # parallel_tests doesn't support line numbers
9292 cucumber = Rake ::Task [ 'cucumber' ]
You can’t perform that action at this time.
0 commit comments