Class: Binpacker::RSpecRunner

Inherits:
TestRunner show all
Defined in:
lib/binpacker/test_runner.rb

Class Method Summary collapse

Methods inherited from TestRunner

for

Class Method Details

.discovery_command(files) ⇒ Object

Returns the RSpec binary invocation for dry-run discovery



24
25
26
# File 'lib/binpacker/test_runner.rb', line 24

def self.discovery_command(files)
  ["rspec", "--dry-run", "--format", "json", *files]
end

.runner_nameObject



19
20
21
# File 'lib/binpacker/test_runner.rb', line 19

def self.runner_name
  "rspec"
end