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.64.0 spec/spec_helper.rb
appmap-0.63.0 spec/spec_helper.rb
appmap-0.62.1 spec/spec_helper.rb
appmap-0.62.0 spec/spec_helper.rb
appmap-0.61.1 spec/spec_helper.rb
appmap-0.61.0 spec/spec_helper.rb
appmap-0.60.0 spec/spec_helper.rb
appmap-0.59.2 spec/spec_helper.rb
appmap-0.59.1 spec/spec_helper.rb
appmap-0.59.0 spec/spec_helper.rb
appmap-0.58.0 spec/spec_helper.rb
appmap-0.57.1 spec/spec_helper.rb
appmap-0.57.0 spec/spec_helper.rb
appmap-0.56.0 spec/spec_helper.rb
appmap-0.55.0 spec/spec_helper.rb
appmap-0.54.4 spec/spec_helper.rb
appmap-0.54.3 spec/spec_helper.rb
appmap-0.54.2 spec/spec_helper.rb
appmap-0.54.1 spec/spec_helper.rb
appmap-0.54.0 spec/spec_helper.rb