Sha256: 3a423a17f6dc38d9ab6102417be9e740ee3c69d303815627e5f5b6449b5d7daf
Contents?: true
Size: 935 Bytes
Versions: 6
Compression:
Stored size: 935 Bytes
Contents
require 'fileutils' require_relative 'spec_helper' require_relative '../lib/ruby_raider' describe RubyRaider do shared_examples 'execute framework' do |name| it 'runs the tests' do Bundler.with_unbundled_env do Dir.chdir(name) do `bundle exec raider u browser_options headless | raider u raid` end end end end context 'with a Rspec and Selenium project' do include_examples 'execute framework', "#{FRAMEWORKS.last}_#{AUTOMATION_TYPES[2]}" end context 'with a Rspec and Watir project' do include_examples 'execute framework', "#{FRAMEWORKS.last}_#{AUTOMATION_TYPES[3]}" end context 'with a Cucumber and Selenium project' do include_examples 'execute framework', "#{FRAMEWORKS.first}_#{AUTOMATION_TYPES[2]}" end context 'with a Cucumber and Watir project' do include_examples 'execute framework', "#{FRAMEWORKS.first}_#{AUTOMATION_TYPES[3]}" end end
Version data entries
6 entries across 6 versions & 1 rubygems