Sha256: aaab38149b2f8b1a955658001d7b73d57367d3536a827dd6c50778e147b8de4e

Contents?: true

Size: 766 Bytes

Versions: 37

Compression:

Stored size: 766 Bytes

Contents

require 'rspec'
require 'net/http'
require 'json'
require 'yaml'
require 'English'
require 'byebug'
require 'webdrivers/chromedriver'

# Disable default initialization of AppMap
ENV['APPMAP_INITIALIZE'] = 'false'

require 'appmap'

RSpec.configure do |config|
  config.example_status_persistence_file_path = "tmp/rspec_failed_examples.txt"
end

# Re-run the Rails specs without re-generating the data. This is useful for efficiently enhancing and
# debugging the test itself.
def use_existing_data?
  ENV['USE_EXISTING_DATA'] == 'true'
end

shared_context 'collect events' do
  def collect_events(tracer)
    [].tap do |events|
      while tracer.event?
        events << tracer.next_event.to_h
      end
    end.map(&AppMap::Util.method(:sanitize_event))
  end
end

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
appmap-0.53.0 spec/spec_helper.rb
appmap-0.52.1 spec/spec_helper.rb
appmap-0.52.0 spec/spec_helper.rb
appmap-0.51.3 spec/spec_helper.rb
appmap-0.51.2 spec/spec_helper.rb
appmap-0.51.1 spec/spec_helper.rb
appmap-0.51.0 spec/spec_helper.rb
appmap-0.50.0 spec/spec_helper.rb
appmap-0.49.0 spec/spec_helper.rb
appmap-0.48.2 spec/spec_helper.rb
appmap-0.48.1 spec/spec_helper.rb
appmap-0.48.0 spec/spec_helper.rb
appmap-0.47.1 spec/spec_helper.rb
appmap-0.47.0 spec/spec_helper.rb
appmap-0.46.0 spec/spec_helper.rb
appmap-0.45.1 spec/spec_helper.rb
appmap-0.45.0 spec/spec_helper.rb