Sha256: 66edf21377c529e055bfbf495991e24af0bd3ef9cb04fc8f8c8d02fa19f2cbc4

Contents?: true

Size: 314 Bytes

Versions: 25

Compression:

Stored size: 314 Bytes

Contents

# frozen_string_literal: true

Autotest.add_discovery do
  if File.directory?('features')
    if ENV['AUTOFEATURE'] =~ /true/i
      'cucumber'
    elsif ENV['AUTOFEATURE'] =~ /false/i
      # noop
    else
      puts '(Not running features.  To run features in autotest, set AUTOFEATURE=true.)'
    end
  end
end

Version data entries

25 entries across 25 versions & 3 rubygems

Version Path
cucumber-4.0.0.rc.3 lib/autotest/discover.rb
cucumber-4.0.0.rc.2 lib/autotest/discover.rb
cucumber-4.0.0.rc.1 lib/autotest/discover.rb
cucumber-3.1.2 lib/autotest/discover.rb
cucumber-3.1.1 lib/autotest/discover.rb