Class: RepeatTest::RspecRunner
- Inherits:
-
Object
- Object
- RepeatTest::RspecRunner
- Defined in:
- lib/repeat_test/rspec_runner.rb
Overview
RspecRunner class to run RSpec
Instance Method Summary collapse
-
#initialize(options:, files:) ⇒ RspecRunner
constructor
A new instance of RspecRunner.
- #run ⇒ Object
Constructor Details
#initialize(options:, files:) ⇒ RspecRunner
Returns a new instance of RspecRunner.
6 7 8 9 |
# File 'lib/repeat_test/rspec_runner.rb', line 6 def initialize(options:, files:) @options = @files = files end |
Instance Method Details
#run ⇒ Object
11 12 13 |
# File 'lib/repeat_test/rspec_runner.rb', line 11 def run system("bundle exec rspec #{files} #{}") end |