Class: Binpacker::RSpecRunner
- Inherits:
-
TestRunner
- Object
- TestRunner
- Binpacker::RSpecRunner
- Defined in:
- lib/binpacker/test_runner.rb
Class Method Summary collapse
-
.discovery_command(files) ⇒ Object
Returns the RSpec binary invocation for dry-run discovery.
- .runner_name ⇒ Object
Methods inherited from TestRunner
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_name ⇒ Object
19 20 21 |
# File 'lib/binpacker/test_runner.rb', line 19 def self.runner_name "rspec" end |