Sha256: 88fd59f014d1146e9d73ec5b9e679516aca9ed109a7ce595ba77ef472e3657de

Contents?: true

Size: 1.45 KB

Versions: 7

Compression:

Stored size: 1.45 KB

Contents

require 'rubygems' unless defined?(Gem)
module Beaker

  %w( version platform test_suite result command options network_manager cli perf logger_junit ).each do |lib|
    begin
      require "beaker/#{lib}"
    rescue LoadError
      require File.expand_path(File.join(File.dirname(__FILE__), 'beaker', lib))
    end
  end
  # These really are our sub-systems that live within the harness today
  # Ideally I would like to see them split out into modules that can be
  # included as such here
  #
  # The Testing DSL
  require 'beaker/dsl'
  #
  # Our Host Abstraction Layer
  require 'beaker/host'
  #
  # Our Hypervisor Abstraction Layer
  require 'beaker/hypervisor'
  #
  # How we manage connecting to hosts and hypervisors
  #require 'beaker/connectivity'
  #
  # Our test runner, suite, test cases and steps
  #require 'beaker/runner'
  #
  # Common setup and testing steps
  #require 'beaker/steps'

  # InParallel, for executing in parallel
  require 'in_parallel'

  # Shared methods and helpers
  require 'beaker/shared'

  # MiniTest, for including MiniTest::Assertions
  require 'minitest/test'

  # Add pry support when available
  begin
    require 'pry'
  rescue LoadError
    # do nothing
  end

  # If beaker-pe is available, pull it in. The gem beaker-pe will need to be
  # specified in the project Gemfile independent of beaker itself. If not available,
  # catch LoadError and continue.
  begin
    require 'beaker-pe'
  rescue LoadError
    # do nothing
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
beaker-3.7.0 lib/beaker.rb
beaker-3.6.0 lib/beaker.rb
beaker-3.5.0 lib/beaker.rb
beaker-3.4.0 lib/beaker.rb
beaker-3.3.0 lib/beaker.rb
beaker-3.2.0 lib/beaker.rb
beaker-3.1.0 lib/beaker.rb