Class: RSpec::Distrib::Leader::TestsProvider
- Inherits:
-
Object
- Object
- RSpec::Distrib::Leader::TestsProvider
- Defined in:
- lib/rspec/distrib/leader/tests_provider.rb
Overview
Default strategy to get a list of spec files to serve from the queue. Gets spec files from spec directory.
Class Method Summary collapse
-
.call ⇒ Array<String>
An application with a very long test suite might have better results by ordering the specs by average execution time descending.
Class Method Details
.call ⇒ Array<String>
An application with a very long test suite might have better results by ordering the specs by average execution time descending.
13 14 15 |
# File 'lib/rspec/distrib/leader/tests_provider.rb', line 13 def call Dir.glob('spec/**/*_spec.rb') end |