class Spout::Commands::TestRunner
Runs spout tests.
Public Class Methods
run()
click to toggle source
# File lib/spout/commands/test_runner.rb, line 8 def run new.run end
Public Instance Methods
run()
click to toggle source
# File lib/spout/commands/test_runner.rb, line 13 def run $LOAD_PATH.unshift File.join(Dir.pwd, "test") Dir.glob(test_files, File::FNM_CASEFOLD).each do |test_file| require test_file end end
test_files()
click to toggle source
# File lib/spout/commands/test_runner.rb, line 20 def test_files File.join(Dir.pwd, "test", "*_test.rb") end