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