Module: TestRecorder::RSpec::ExampleWrapper

Defined in:
lib/test_recorder/rspec/example_wrapper.rb

Instance Method Summary collapse

Instance Method Details

#run_before_exampleObject



4
5
6
7
8
9
10
# File 'lib/test_recorder/rspec/example_wrapper.rb', line 4

def run_before_example
  super
  TestRecorder::RSpec.cdp_recorder.start(
    page: @example_group_instance.page,
    enabled: self.[:test_recorder]
  )
end