class Praegustator::Executor

Public Class Methods

new() click to toggle source
# File lib/praegustator/executor.rb, line 5
def initialize
end

Public Instance Methods

execute(recipes) click to toggle source
# File lib/praegustator/executor.rb, line 7
def execute(recipes)
  recipes.each do |recipe|
    suits = Praegustator::Dsl.new.parse_file(recipe)
    suits.each(&:execute)
  end
end
execute_check(query,check) click to toggle source
# File lib/praegustator/executor.rb, line 13
def execute_check(query,check)
  suite = Praegustator::TestSuite.new(query)
  suite.check check
  suite.execute
end