Sha256: 2be6164e13e8510aa61962ec0695341a6ecc4715cd091163a278aa508552bee9
Contents?: true
Size: 516 Bytes
Versions: 12
Compression:
Stored size: 516 Bytes
Contents
# coding: UTF-8 require 'rake' namespace :dad do desc 'Cucumberを使用してテストを実行します。' task :test => :environment do system("mkdir -p features/reports") system("rm -Rf features/reports/*") args = [] ARGV[1..-1].each do |arg| unless arg.index('=') task arg.to_sym do ; end end args << arg end command = "bundle exec rake dad:cucumber #{args.join(' ')}" #puts command ret = system(command) fail unless ret end end
Version data entries
12 entries across 12 versions & 1 rubygems