Sha256: 900b633b79d7d01b3fbab4a9ff5e9fe8e510fdd77270d7ba4bc310f38dbdb748
Contents?: true
Size: 822 Bytes
Versions: 3
Compression:
Stored size: 822 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 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ilesspainfulclient-cucumber-0.0.4 | bin/ilesspainful-skeleton |
ilesspainfulclient-cucumber-0.0.3 | bin/ilesspainful-skeleton |
ilesspainfulclient-cucumber-0.0.2 | bin/ilesspainful-skeleton |