Method: DeepTest::Spec::Runner#initialize

Defined in:
lib/deep_test/spec/runner.rb

#initialize(options, deep_test_options) ⇒ Runner

Returns a new instance of Runner.



4
5
6
7
8
9
10
11
12
# File 'lib/deep_test/spec/runner.rb', line 4

def initialize(options, deep_test_options)
  super(options)
  if ::Spec::VERSION::MAJOR == 1 &&
     ::Spec::VERSION::MINOR == 1 &&
     ::Spec::VERSION::TINY  >= 12
    @runner_options = options # added to make work with 1.1.12
  end
  @deep_test_options = DeepTest::Options.from_command_line(deep_test_options)
end