lib/infinity_test.rb in infinity_test-0.2.0 vs lib/infinity_test.rb in infinity_test-1.0.0
- old
+ new
@@ -1,31 +1,51 @@
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 :Rspec, 'infinity_test/rspec'
autoload :Runner, 'infinity_test/runner'
- autoload :TestUnit, 'infinity_test/test_unit'
+ 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(Options.new(ARGV)).run!
+ Runner.new(ARGV).run!
end
- module Notifications
- autoload :Growl, 'infinity_test/notifications/growl'
- autoload :LibNotify, 'infinity_test/notifications/lib_notify'
+ def self.version
+ version = YAML.load_file(File.dirname(__FILE__) + '/../VERSION.yml')
+ [version[:major], version[:minor], version[:patch]].compact.join(".")
end
-end
\ No newline at end of file
+end