Sha256: 13428fad9aa6377c0b7934fcbcbdad748eaf40d8a1fd891704e75bc2340c6578
Contents?: true
Size: 1016 Bytes
Versions: 12
Compression:
Stored size: 1016 Bytes
Contents
# frozen_string_literal: true require 'fileutils' require 'rspec' require_relative '../lib/generators/invoke_generators' require_relative 'support/settings_helper' AUTOMATION_TYPES = %w[android ios selenium watir cross_platform].freeze FRAMEWORKS = %w[cucumber rspec].freeze RSpec.configure do |config| config.include(InvokeGenerators) config.include(SettingsHelper) config.before(:all) do FRAMEWORKS.each do |framework| AUTOMATION_TYPES.each do |automation| [true, false].each do |visual| settings = create_settings(framework: framework, automation: automation, visual: visual) generate_framework(settings) end end end end config.after(:all) do FRAMEWORKS.each do |framework| AUTOMATION_TYPES.each do |automation| [true, false].each do |visual| settings = create_settings(framework: framework, automation: automation, visual: visual) FileUtils.rm_rf(settings[:name]) end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems