Sha256: 75299ab9d1e7d4b6bf8cc15a16e8b86f36dc14afee0c9fc4a1e9b981a0de7a2c

Contents?: true

Size: 444 Bytes

Versions: 6

Compression:

Stored size: 444 Bytes

Contents

# encoding: utf-8
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

6 entries across 6 versions & 1 rubygems

Version Path
sippy_cup-0.7.2 lib/sippy_cup/tasks.rb
sippy_cup-0.7.1 lib/sippy_cup/tasks.rb
sippy_cup-0.7.0 lib/sippy_cup/tasks.rb
sippy_cup-0.6.0 lib/sippy_cup/tasks.rb
sippy_cup-0.5.0 lib/sippy_cup/tasks.rb
sippy_cup-0.4.1 lib/sippy_cup/tasks.rb