Sha256: bd3fdf27472b20bca9f73f2b6490704cb83b82dc516e3b7fd8c88c67179e1f17

Contents?: true

Size: 525 Bytes

Versions: 7

Compression:

Stored size: 525 Bytes

Contents

#!/usr/bin/env ruby
require 'fileutils'
include FileUtils

# path to your application root.
APP_ROOT = File.expand_path('..', __dir__)

def system!(*args)
  puts "Run: #{args.join(' ')}"
  system(*args) || abort("\n== Command #{args} failed ==")
end

chdir APP_ROOT do
  puts "\n== Performing setup =="
  system!('./bin/setup')

  if ENV['TEST_INTEGRATION']
    puts "\n== Wait for healthy HTTP server... =="
    system!('bash /vendor/dd-demo/http-health-check')
  end

  puts "\n== Run test suite =="
  system!('rspec')
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ddtrace-0.51.1 integration/apps/rack/bin/test
ddtrace-0.51.0 integration/apps/rack/bin/test
ddtrace-0.50.0 integration/apps/rack/bin/test
ddtrace-0.49.0 integration/apps/rack/bin/test
ddtrace-0.48.0 integration/apps/rack/bin/test
ddtrace-0.47.0 integration/apps/rack/bin/test
ddtrace-0.46.0 integration/apps/rack/bin/test