module Lightest

Constants

TESTS
VERSION

Public Class Methods

run_tests() click to toggle source
# File lib/lightest.rb, line 7
def self.run_tests
  test_files.each { |f| load(f) }
  reporter = Reporter.new
  TESTS.each do |test_class|
    test_class.run(reporter)
  end
  reporter.summary
end

Private Class Methods

test_files() click to toggle source
# File lib/lightest.rb, line 18
def self.test_files
  Dir["#{Dir.pwd}/**/*_test.rb"]
end