Sha256: 50a965198a4c9753fe3c0aa848d2bf930e14cc089ca346b388a5d86fbc86ca34
Contents?: true
Size: 655 Bytes
Versions: 2
Compression:
Stored size: 655 Bytes
Contents
# frozen_string_literal: true require 'fileutils' require 'rspec' require_relative '../lib/generators/menu_generator' AUTOMATION_TYPES = %w[android ios selenium watir cross_platform].freeze FRAMEWORKS = %w[cucumber rspec].freeze RSpec.configure do |config| config.before(:all) do FRAMEWORKS.each do |framework| AUTOMATION_TYPES.each do |automation| MenuGenerator.new("#{framework}_#{automation}").generate_framework(automation, framework) end end end config.after(:all) do FRAMEWORKS.each do |framework| AUTOMATION_TYPES.each { |automation| FileUtils.rm_rf("#{framework}_#{automation}") } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby_raider-0.4.4 | spec/spec_helper.rb |
ruby_raider-0.4.3 | spec/spec_helper.rb |