Sha256: 69920c21d9e11568f7a8766a2d496fd0c74999b035b84e6f849decf07ecfe6b4

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

require 'yaml'
require 'sippy_cup/runner'

namespace :sippy_cup do
  desc "Compile the given scenario"
  task :compile, :scenario do |t, args|
    require File.expand_path(args[:scenario])
  end

  desc "Run the scenario described by the given manifest file"
  task :run, :options_file do |t, args|
  	scenario = SippyCup::Scenario.from_manifest File.read(args[:options_file])
    SippyCup::Runner.new(scenario).run
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sippy_cup-0.4.0 lib/sippy_cup/tasks.rb
sippy_cup-0.3.0 lib/sippy_cup/tasks.rb