Sha256: 55af59aa4ab64e2f60fd5f6051a5c54aea3b0923299ba05c1d2c864be8da9e94

Contents?: true

Size: 1.52 KB

Versions: 4

Compression:

Stored size: 1.52 KB

Contents

require 'infinity_test/dependencies'

module InfinityTest
  
  autoload :Application, 'infinity_test/application'
  autoload :BinaryPath, 'infinity_test/binary_path'
  autoload :Builder, 'infinity_test/builder'
  autoload :Command, 'infinity_test/command'
  autoload :Configuration, 'infinity_test/configuration'
  autoload :ContinuousTesting, 'infinity_test/continuous_testing'
  autoload :Environment, 'infinity_test/environment'
  autoload :Heuristics, 'infinity_test/heuristics'
  autoload :HeuristicsHelper, 'infinity_test/heuristics_helper'
  autoload :Options, 'infinity_test/options'
  autoload :Runner, 'infinity_test/runner'
  autoload :TestFramework, 'infinity_test/test_framework'

  module ApplicationLibrary
    autoload :Rails , 'infinity_test/application_library/rails'
    autoload :RubyGems, 'infinity_test/application_library/rubygems'
  end

  module TestLibrary
    autoload :Bacon, 'infinity_test/test_library/bacon'
    autoload :Cucumber, 'infinity_test/test_library/cucumber'
    autoload :Rspec, 'infinity_test/test_library/rspec'
    autoload :TestUnit, 'infinity_test/test_library/test_unit'
  end

  def self.application
    @application ||= Application.new
  end

  def self.configuration
    @configuration ||= Configuration.new
  end

  def self.watchr
    @watchr ||= Watchr::Script.new
  end

  def self.start!
    Runner.new(ARGV).run!
  end
  
  def self.version
    version = YAML.load_file(File.dirname(__FILE__) + '/../VERSION.yml')
    [version[:major], version[:minor], version[:patch]].compact.join(".")    
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
infinity_test-1.0.3 lib/infinity_test.rb
infinity_test-1.0.2 lib/infinity_test.rb
infinity_test-1.0.1 lib/infinity_test.rb
infinity_test-1.0.0 lib/infinity_test.rb