Sha256: 3b52f8654ce786c0028d6d4415cb72449d019752c30fe09569ccd676165e9426
Contents?: true
Size: 470 Bytes
Versions: 5
Compression:
Stored size: 470 Bytes
Contents
<% rerun_file = '.cucumber.rerun' failing_scenarios = IO.read(rerun_file) rescue '' path = if failing_scenarios.empty? 'features' else puts "Running failed scenarios" failing_scenarios.gsub /\s/, ' ' end opts = [ "--format #{path == 'features' ? 'progress' : 'pretty'}", "--format rerun -o #{rerun_file}" ] rails_version = `bundle exec rails --version`.match(/[\d.]+$/).to_s optlist = opts.join(' ') %> default: <%= path %> <%= optlist %> --tags 'not @broken'
Version data entries
5 entries across 5 versions & 1 rubygems