Sha256: fec76dec9824cea39075c54aafd42d9f5ab2710f7d5aed3a848a36256e048d89
Contents?: true
Size: 830 Bytes
Versions: 7
Compression:
Stored size: 830 Bytes
Contents
#!/usr/bin/env ruby require 'fileutils' features_dir = File.join( FileUtils.pwd, "features" ) if File.exists?( features_dir ) puts "A features directory already exists. I won't overwrite it. Giving up." exit 1 else puts "I'm about to create a subdirectory called features which will contain all your Cucumber tests. Please hit return to confirm that's what you want." exit 2 unless STDIN.gets.chomp == '' end source_dir = File.join( File.dirname(__FILE__), '..', 'features-skeleton' ) FileUtils.cp_r( source_dir, features_dir ) puts "features subdirectory created. Try starting you app in the 4.x simulator using the LessPainful target. Then try executing \n\nSTEP_PAUSE=2 OS=ios4 DEVICE=iphone DEVICE_ENDPOINT=http://localhost:37265 cucumber\n\n from the current directory to see how you new cucumber setup runs."
Version data entries
7 entries across 7 versions & 1 rubygems