cucumber-farmer 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +1 -0
- data/Gemfile.lock +23 -1
- data/History.txt +11 -0
- data/{README.rdoc → README.md} +34 -19
- data/Rakefile +27 -3
- data/VERSION +1 -1
- data/cucumber-farmer-1.0.2.gem +0 -0
- data/cucumber-farmer.gemspec +29 -6
- data/lib/farmer.rb +2 -0
- data/lib/farmer/step_definitions.rb +1 -1
- data/lib/farmer/version.rb +5 -0
- data/test/test_dependencies.rb +6 -0
- data/test_app/Rakefile +7 -0
- data/test_app/cucumber.yml +10 -0
- data/test_app/features/home_page.feature +4 -5
- data/test_app/lib/cucumber.rake +53 -0
- metadata +99 -13
data/.gitignore
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,13 +1,15 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
cucumber-farmer (1.0.
|
4
|
+
cucumber-farmer (1.0.3)
|
5
5
|
mattscilipoti-rdialog (~> 0.6.1)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: http://rubygems.org/
|
9
9
|
specs:
|
10
10
|
builder (2.1.2)
|
11
|
+
ci_reporter (1.6.2)
|
12
|
+
builder (>= 2.1.2)
|
11
13
|
cucumber (0.8.5)
|
12
14
|
builder (~> 2.1.2)
|
13
15
|
diff-lcs (~> 1.1.2)
|
@@ -15,23 +17,43 @@ GEM
|
|
15
17
|
json_pure (~> 1.4.3)
|
16
18
|
term-ansicolor (~> 1.0.4)
|
17
19
|
diff-lcs (1.1.2)
|
20
|
+
gemcutter (0.6.1)
|
18
21
|
gherkin (2.1.5)
|
19
22
|
trollop (~> 1.16.2)
|
23
|
+
git (1.2.5)
|
24
|
+
jeweler (1.4.0)
|
25
|
+
gemcutter (>= 0.1.0)
|
26
|
+
git (>= 1.2.5)
|
27
|
+
rubyforge (>= 2.0.0)
|
20
28
|
json_pure (1.4.6)
|
21
29
|
mattscilipoti-rdialog (0.6.1)
|
30
|
+
nokogiri (1.4.3.1)
|
22
31
|
rack (1.2.1)
|
32
|
+
rack-test (0.5.4)
|
33
|
+
rack (>= 1.0)
|
34
|
+
rubyforge (2.0.4)
|
35
|
+
json_pure (>= 1.1.7)
|
23
36
|
shoulda (2.11.3)
|
24
37
|
sinatra (1.0)
|
25
38
|
rack (>= 1.0)
|
26
39
|
term-ansicolor (1.0.5)
|
27
40
|
trollop (1.16.2)
|
41
|
+
webrat (0.7.1)
|
42
|
+
nokogiri (>= 1.2.0)
|
43
|
+
rack (>= 1.0)
|
44
|
+
rack-test (>= 0.5.3)
|
28
45
|
|
29
46
|
PLATFORMS
|
30
47
|
ruby
|
31
48
|
|
32
49
|
DEPENDENCIES
|
50
|
+
bundler (~> 1.0.0)
|
51
|
+
ci_reporter (~> 1.6.2)
|
33
52
|
cucumber (~> 0.6)
|
34
53
|
cucumber-farmer!
|
54
|
+
jeweler (~> 1.4.0)
|
35
55
|
mattscilipoti-rdialog (~> 0.6.1)
|
56
|
+
rack-test (~> 0.5.0)
|
36
57
|
shoulda (~> 2.10)
|
37
58
|
sinatra (~> 1.0)
|
59
|
+
webrat
|
data/History.txt
ADDED
data/{README.rdoc → README.md}
RENAMED
@@ -1,19 +1,21 @@
|
|
1
|
-
|
1
|
+
# cucumber-farmer
|
2
2
|
|
3
3
|
A library of cucumber step definitions, which allow you to use a human to assert conditions during acceptance tests.
|
4
4
|
|
5
|
-
|
5
|
+
Hosted at: http://github.com/mattscilipoti/cucumber-farmer
|
6
|
+
|
7
|
+
## Why?
|
6
8
|
Some requirements are simple for a human to confirm, but are very difficult to assert using automation.
|
7
9
|
Farmer allows us to include human confirmation into our normal testing flow.
|
8
10
|
For example, we needed to verify that certain portions of an image were 'blacked out'.
|
9
11
|
|
10
|
-
|
12
|
+
## What?
|
11
13
|
Farmer utilizes rdialog to allow you to:
|
12
14
|
* Present messages
|
13
15
|
* Display files
|
14
16
|
* Ask a human for confirmation
|
15
17
|
|
16
|
-
|
18
|
+
## Example
|
17
19
|
When I display the message "Please review the following images. \nEnsure 'Frame' and 'Speed Data' items are hidden."
|
18
20
|
And I display these Files:
|
19
21
|
|filename|
|
@@ -28,42 +30,53 @@ This will:
|
|
28
30
|
* Open a new page in firefox to display the named files (in tabs).
|
29
31
|
* Once the user closes all the tabs, confirmation dialogs will be displayed.
|
30
32
|
|
31
|
-
|
32
|
-
|
33
|
-
|
33
|
+
## Installation
|
34
|
+
|
35
|
+
Install dialog library:
|
36
|
+
$ apt-get install dialog
|
37
|
+
$ brew install dialog #you may need Formula from https://github.com/mattscilipoti/homebrew
|
38
|
+
|
39
|
+
Install the gem:
|
40
|
+
$ gem install cucumber-farmer
|
34
41
|
|
35
42
|
In features/support/env.rb:
|
36
|
-
|
43
|
+
require 'farmer/step_definitions'
|
37
44
|
|
38
|
-
|
45
|
+
## Test
|
39
46
|
Two levels of testing are required. Library testing and 'usage as a gem' testing.
|
40
|
-
|
47
|
+
#### Usage as gem:
|
41
48
|
A (sinatra) test app is included, containing some acceptance tests.
|
42
49
|
Interestingly, these tests ask you to verify farmer's functionality.
|
43
50
|
|
44
|
-
|
45
|
-
|
51
|
+
cd test_app
|
52
|
+
cucumber
|
46
53
|
|
47
|
-
|
54
|
+
#### Test the library:
|
48
55
|
This library was extracted from an existing app.
|
49
56
|
It was created test-first (mostly), but extracting the tests is harder than extracting code.
|
50
57
|
Test are added regularly.
|
51
58
|
rake
|
52
59
|
|
53
|
-
|
60
|
+
## Questions?
|
54
61
|
* Check out step_definitions/dialog_steps.
|
62
|
+
* If that doesn't help, see Issues.
|
55
63
|
|
56
|
-
|
57
|
-
* Create an issue on github (
|
64
|
+
## Issues?
|
65
|
+
* Create an issue on github (https://github.com/mattscilipoti/cucumber-farmer/issues)
|
58
66
|
|
59
|
-
|
67
|
+
|
68
|
+
## TODO:
|
60
69
|
* expand test coverage to unit tests
|
61
70
|
* add step_definitions to rdoc.
|
62
71
|
* utilize pickle foundation.
|
63
72
|
* make dialog timeout configurable.
|
64
73
|
* namespace
|
74
|
+
* cross platform support
|
75
|
+
** http://github.com/danopia/luck/tree/master/lib/luck ?
|
76
|
+
** http://github.com/rkumar/ncurses ?
|
77
|
+
** http://github.com/gooch/RDialogy ?
|
65
78
|
|
66
|
-
|
79
|
+
## Note on Patches/Pull Requests
|
67
80
|
* Fork the project.
|
68
81
|
* Since you will probably want to utilize your own copy, while waiting for upstream to include your pull request,
|
69
82
|
I recommend creating a branch named 'upstream'.
|
@@ -75,6 +88,8 @@ Test are added regularly.
|
|
75
88
|
* Commit.
|
76
89
|
* Send me a pull request from 'upstream' or the topic branch.
|
77
90
|
|
78
|
-
|
91
|
+
## Copyright
|
79
92
|
|
80
93
|
Copyright (c) 2010 Matt Scilipoti. See LICENSE for details.
|
94
|
+
|
95
|
+
<script type="text/javascript" src="http://www.ohloh.net/p/485563/widgets/project_thin_badge.js"></script>
|
data/Rakefile
CHANGED
@@ -1,6 +1,10 @@
|
|
1
1
|
require 'rubygems'
|
2
2
|
require 'rake'
|
3
3
|
|
4
|
+
#load all .rake files
|
5
|
+
Dir[File.join(File.dirname(__FILE__), 'lib', '**/*.rake')].flatten.uniq.sort.each { |ext| load(ext) }
|
6
|
+
|
7
|
+
|
4
8
|
begin
|
5
9
|
require 'jeweler'
|
6
10
|
Jeweler::Tasks.new do |gem|
|
@@ -12,13 +16,22 @@ begin
|
|
12
16
|
For example, we needed to verify that certain portions of an image were 'blacked out'.
|
13
17
|
}
|
14
18
|
gem.email = "matt@scilipoti.name"
|
15
|
-
gem.homepage = "http://github.com/mattscilipoti/farmer"
|
19
|
+
gem.homepage = "http://github.com/mattscilipoti/cucumber-farmer"
|
16
20
|
gem.authors = ["Matt Scilipoti"]
|
17
21
|
gem.platform = Gem::Platform::RUBY
|
18
22
|
gem.add_dependency('mattscilipoti-rdialog', '~> 0.6.1')
|
23
|
+
|
24
|
+
gem.add_development_dependency "bundler", "~> 1.0.0"
|
25
|
+
gem.add_development_dependency "ci_reporter", "~> 1.6.2"
|
26
|
+
gem.add_development_dependency "jeweler", "~> 1.4.0"
|
27
|
+
#testing
|
19
28
|
gem.add_development_dependency "cucumber", "~> 0.6"
|
20
29
|
gem.add_development_dependency "shoulda", "~> 2.10"
|
30
|
+
gem.add_development_dependency 'webrat'
|
31
|
+
#test_app
|
32
|
+
gem.add_development_dependency 'rack-test', '~> 0.5.0'
|
21
33
|
gem.add_development_dependency 'sinatra', '~> 1.0'
|
34
|
+
|
22
35
|
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
23
36
|
end
|
24
37
|
Jeweler::GemcutterTasks.new
|
@@ -46,9 +59,13 @@ rescue LoadError
|
|
46
59
|
end
|
47
60
|
end
|
48
61
|
|
49
|
-
task :test => :check_dependencies
|
62
|
+
task :test => :check_dependencies do
|
63
|
+
puts '*****'
|
64
|
+
puts "INFO: remember to run cucumber tests in test_app/"
|
65
|
+
puts '*****'
|
66
|
+
end
|
50
67
|
|
51
|
-
task :default => :test
|
68
|
+
task :default => [:test]
|
52
69
|
|
53
70
|
require 'rake/rdoctask'
|
54
71
|
Rake::RDocTask.new do |rdoc|
|
@@ -59,3 +76,10 @@ Rake::RDocTask.new do |rdoc|
|
|
59
76
|
rdoc.rdoc_files.include('README*')
|
60
77
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
61
78
|
end
|
79
|
+
|
80
|
+
#cireporter
|
81
|
+
require 'rubygems'
|
82
|
+
# Install:
|
83
|
+
# sudo gem install ci_reporter
|
84
|
+
gem 'ci_reporter'
|
85
|
+
require 'ci/reporter/rake/test_unit' # use this if you're using Test::Unit
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.3
|
Binary file
|
data/cucumber-farmer.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cucumber-farmer}
|
8
|
-
s.version = "1.0.
|
8
|
+
s.version = "1.0.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Matt Scilipoti"]
|
12
|
-
s.date = %q{2010-
|
12
|
+
s.date = %q{2010-11-06}
|
13
13
|
s.description = %q{A library of cucumber step definitions, which allow you to use a human to assert conditions during acceptance tests.
|
14
14
|
Some requirements are simple for a human to confirm, but are very difficult to assert using automation.
|
15
15
|
Farmer allows us to include human confirmation into our normal testing flow.
|
@@ -18,36 +18,44 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.email = %q{matt@scilipoti.name}
|
19
19
|
s.extra_rdoc_files = [
|
20
20
|
"LICENSE",
|
21
|
-
"README.
|
21
|
+
"README.md"
|
22
22
|
]
|
23
23
|
s.files = [
|
24
24
|
".document",
|
25
25
|
".gitignore",
|
26
26
|
"Gemfile",
|
27
27
|
"Gemfile.lock",
|
28
|
+
"History.txt",
|
28
29
|
"LICENSE",
|
29
|
-
"README.
|
30
|
+
"README.md",
|
30
31
|
"Rakefile",
|
31
32
|
"VERSION",
|
32
33
|
"cucumber-farmer-1.0.1.gem",
|
33
34
|
"cucumber-farmer-1.0.2.gem",
|
35
|
+
"cucumber-farmer-1.0.3.gem",
|
34
36
|
"cucumber-farmer.gemspec",
|
35
37
|
"lib/farmer.rb",
|
36
38
|
"lib/farmer/step_definitions.rb",
|
39
|
+
"lib/farmer/version.rb",
|
37
40
|
"test/helper.rb",
|
41
|
+
"test/test_dependencies.rb",
|
42
|
+
"test_app/Rakefile",
|
43
|
+
"test_app/cucumber.yml",
|
38
44
|
"test_app/features/home_page.feature",
|
39
45
|
"test_app/features/human_confirmation.feature",
|
40
46
|
"test_app/features/step_definitions/web_steps.rb",
|
41
47
|
"test_app/features/support/env.rb",
|
48
|
+
"test_app/lib/cucumber.rake",
|
42
49
|
"test_app/test_app.rb"
|
43
50
|
]
|
44
|
-
s.homepage = %q{http://github.com/mattscilipoti/farmer}
|
51
|
+
s.homepage = %q{http://github.com/mattscilipoti/cucumber-farmer}
|
45
52
|
s.rdoc_options = ["--charset=UTF-8"]
|
46
53
|
s.require_paths = ["lib"]
|
47
54
|
s.rubygems_version = %q{1.3.7}
|
48
55
|
s.summary = %q{A library of cucumber step definitions, which allow you to use a human to assert conditions during acceptance tests.}
|
49
56
|
s.test_files = [
|
50
|
-
"test/helper.rb"
|
57
|
+
"test/helper.rb",
|
58
|
+
"test/test_dependencies.rb"
|
51
59
|
]
|
52
60
|
|
53
61
|
if s.respond_to? :specification_version then
|
@@ -56,19 +64,34 @@ Gem::Specification.new do |s|
|
|
56
64
|
|
57
65
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
58
66
|
s.add_runtime_dependency(%q<mattscilipoti-rdialog>, ["~> 0.6.1"])
|
67
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
|
68
|
+
s.add_development_dependency(%q<ci_reporter>, ["~> 1.6.2"])
|
69
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.4.0"])
|
59
70
|
s.add_development_dependency(%q<cucumber>, ["~> 0.6"])
|
60
71
|
s.add_development_dependency(%q<shoulda>, ["~> 2.10"])
|
72
|
+
s.add_development_dependency(%q<webrat>, [">= 0"])
|
73
|
+
s.add_development_dependency(%q<rack-test>, ["~> 0.5.0"])
|
61
74
|
s.add_development_dependency(%q<sinatra>, ["~> 1.0"])
|
62
75
|
else
|
63
76
|
s.add_dependency(%q<mattscilipoti-rdialog>, ["~> 0.6.1"])
|
77
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
78
|
+
s.add_dependency(%q<ci_reporter>, ["~> 1.6.2"])
|
79
|
+
s.add_dependency(%q<jeweler>, ["~> 1.4.0"])
|
64
80
|
s.add_dependency(%q<cucumber>, ["~> 0.6"])
|
65
81
|
s.add_dependency(%q<shoulda>, ["~> 2.10"])
|
82
|
+
s.add_dependency(%q<webrat>, [">= 0"])
|
83
|
+
s.add_dependency(%q<rack-test>, ["~> 0.5.0"])
|
66
84
|
s.add_dependency(%q<sinatra>, ["~> 1.0"])
|
67
85
|
end
|
68
86
|
else
|
69
87
|
s.add_dependency(%q<mattscilipoti-rdialog>, ["~> 0.6.1"])
|
88
|
+
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
89
|
+
s.add_dependency(%q<ci_reporter>, ["~> 1.6.2"])
|
90
|
+
s.add_dependency(%q<jeweler>, ["~> 1.4.0"])
|
70
91
|
s.add_dependency(%q<cucumber>, ["~> 0.6"])
|
71
92
|
s.add_dependency(%q<shoulda>, ["~> 2.10"])
|
93
|
+
s.add_dependency(%q<webrat>, [">= 0"])
|
94
|
+
s.add_dependency(%q<rack-test>, ["~> 0.5.0"])
|
72
95
|
s.add_dependency(%q<sinatra>, ["~> 1.0"])
|
73
96
|
end
|
74
97
|
end
|
data/lib/farmer.rb
CHANGED
data/test_app/Rakefile
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
<%
|
2
|
+
std_format = ENV['CUCUMBER_FORMAT'] || 'progress'
|
3
|
+
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
|
4
|
+
rerun_opts = rerun.to_s.strip.empty? ? "--format #{std_format} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
|
5
|
+
std_opts = "--format #{std_format} --strict --tags ~@wip --tags ~@pending"
|
6
|
+
%>
|
7
|
+
default: --drb <%= std_opts %> features
|
8
|
+
all: --drb
|
9
|
+
wip: --drb --tags @wip:3 --wip features
|
10
|
+
rerun: --drb <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
|
@@ -1,5 +1,4 @@
|
|
1
|
-
Feature
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
Then I should see "Hello World"
|
1
|
+
Feature: Home Page experience
|
2
|
+
Scenario: See hello world
|
3
|
+
When I visit the home page
|
4
|
+
Then I should see "Hello World"
|
@@ -0,0 +1,53 @@
|
|
1
|
+
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
|
2
|
+
# It is recommended to regenerate this file in the future when you upgrade to a
|
3
|
+
# newer version of cucumber-rails. Consider adding your own code to a new file
|
4
|
+
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
|
5
|
+
# files.
|
6
|
+
|
7
|
+
|
8
|
+
unless ARGV.any? {|a| a =~ /^gems/} # Don't load anything when running the gems:* tasks
|
9
|
+
|
10
|
+
vendored_cucumber_bin = nil
|
11
|
+
|
12
|
+
task 'db:test:prepare' #noop
|
13
|
+
|
14
|
+
# $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), 'lib'))
|
15
|
+
|
16
|
+
# vendored_cucumber_bin = Dir["#{Rails.root}/vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
|
17
|
+
# $LOAD_PATH.unshift(File.dirname(vendored_cucumber_bin) + '/../lib') unless vendored_cucumber_bin.nil?
|
18
|
+
|
19
|
+
begin
|
20
|
+
require 'cucumber/rake/task'
|
21
|
+
|
22
|
+
namespace :cucumber do
|
23
|
+
Cucumber::Rake::Task.new({:ok => 'db:test:prepare'}, 'Run features that should pass') do |t|
|
24
|
+
t.binary = vendored_cucumber_bin # If nil, the gem's binary is used.
|
25
|
+
t.fork = true # You may get faster startup if you set this to false
|
26
|
+
t.profile = 'default'
|
27
|
+
end
|
28
|
+
|
29
|
+
Cucumber::Rake::Task.new({:wip => 'db:test:prepare'}, 'Run features that are being worked on') do |t|
|
30
|
+
t.binary = vendored_cucumber_bin
|
31
|
+
t.fork = true # You may get faster startup if you set this to false
|
32
|
+
t.profile = 'wip'
|
33
|
+
end
|
34
|
+
|
35
|
+
desc 'Run all features'
|
36
|
+
task :all => [:ok, :wip]
|
37
|
+
end
|
38
|
+
desc 'Alias for cucumber:ok'
|
39
|
+
task :cucumber => 'cucumber:ok'
|
40
|
+
|
41
|
+
task :default => :cucumber
|
42
|
+
|
43
|
+
task :features => :cucumber do
|
44
|
+
STDERR.puts "*** The 'features' task is deprecated. See rake -T cucumber ***"
|
45
|
+
end
|
46
|
+
rescue LoadError
|
47
|
+
desc 'cucumber rake task not available (cucumber not installed)'
|
48
|
+
task :cucumber do
|
49
|
+
abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-farmer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 1.0.
|
9
|
+
- 3
|
10
|
+
version: 1.0.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Matt Scilipoti
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-
|
18
|
+
date: 2010-11-06 00:00:00 -04:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -35,9 +35,57 @@ dependencies:
|
|
35
35
|
type: :runtime
|
36
36
|
version_requirements: *id001
|
37
37
|
- !ruby/object:Gem::Dependency
|
38
|
-
name:
|
38
|
+
name: bundler
|
39
39
|
prerelease: false
|
40
40
|
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ~>
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 23
|
46
|
+
segments:
|
47
|
+
- 1
|
48
|
+
- 0
|
49
|
+
- 0
|
50
|
+
version: 1.0.0
|
51
|
+
type: :development
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
name: ci_reporter
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
|
+
none: false
|
58
|
+
requirements:
|
59
|
+
- - ~>
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 11
|
62
|
+
segments:
|
63
|
+
- 1
|
64
|
+
- 6
|
65
|
+
- 2
|
66
|
+
version: 1.6.2
|
67
|
+
type: :development
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: jeweler
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
73
|
+
none: false
|
74
|
+
requirements:
|
75
|
+
- - ~>
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 7
|
78
|
+
segments:
|
79
|
+
- 1
|
80
|
+
- 4
|
81
|
+
- 0
|
82
|
+
version: 1.4.0
|
83
|
+
type: :development
|
84
|
+
version_requirements: *id004
|
85
|
+
- !ruby/object:Gem::Dependency
|
86
|
+
name: cucumber
|
87
|
+
prerelease: false
|
88
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
41
89
|
none: false
|
42
90
|
requirements:
|
43
91
|
- - ~>
|
@@ -48,11 +96,11 @@ dependencies:
|
|
48
96
|
- 6
|
49
97
|
version: "0.6"
|
50
98
|
type: :development
|
51
|
-
version_requirements: *
|
99
|
+
version_requirements: *id005
|
52
100
|
- !ruby/object:Gem::Dependency
|
53
101
|
name: shoulda
|
54
102
|
prerelease: false
|
55
|
-
requirement: &
|
103
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
56
104
|
none: false
|
57
105
|
requirements:
|
58
106
|
- - ~>
|
@@ -63,11 +111,41 @@ dependencies:
|
|
63
111
|
- 10
|
64
112
|
version: "2.10"
|
65
113
|
type: :development
|
66
|
-
version_requirements: *
|
114
|
+
version_requirements: *id006
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: webrat
|
117
|
+
prerelease: false
|
118
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
119
|
+
none: false
|
120
|
+
requirements:
|
121
|
+
- - ">="
|
122
|
+
- !ruby/object:Gem::Version
|
123
|
+
hash: 3
|
124
|
+
segments:
|
125
|
+
- 0
|
126
|
+
version: "0"
|
127
|
+
type: :development
|
128
|
+
version_requirements: *id007
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: rack-test
|
131
|
+
prerelease: false
|
132
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
133
|
+
none: false
|
134
|
+
requirements:
|
135
|
+
- - ~>
|
136
|
+
- !ruby/object:Gem::Version
|
137
|
+
hash: 11
|
138
|
+
segments:
|
139
|
+
- 0
|
140
|
+
- 5
|
141
|
+
- 0
|
142
|
+
version: 0.5.0
|
143
|
+
type: :development
|
144
|
+
version_requirements: *id008
|
67
145
|
- !ruby/object:Gem::Dependency
|
68
146
|
name: sinatra
|
69
147
|
prerelease: false
|
70
|
-
requirement: &
|
148
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
71
149
|
none: false
|
72
150
|
requirements:
|
73
151
|
- - ~>
|
@@ -78,7 +156,7 @@ dependencies:
|
|
78
156
|
- 0
|
79
157
|
version: "1.0"
|
80
158
|
type: :development
|
81
|
-
version_requirements: *
|
159
|
+
version_requirements: *id009
|
82
160
|
description: "A library of cucumber step definitions, which allow you to use a human to assert conditions during acceptance tests.\n Some requirements are simple for a human to confirm, but are very difficult to assert using automation.\n Farmer allows us to include human confirmation into our normal testing flow.\n For example, we needed to verify that certain portions of an image were 'blacked out'.\n "
|
83
161
|
email: matt@scilipoti.name
|
84
162
|
executables: []
|
@@ -87,29 +165,36 @@ extensions: []
|
|
87
165
|
|
88
166
|
extra_rdoc_files:
|
89
167
|
- LICENSE
|
90
|
-
- README.
|
168
|
+
- README.md
|
91
169
|
files:
|
92
170
|
- .document
|
93
171
|
- .gitignore
|
94
172
|
- Gemfile
|
95
173
|
- Gemfile.lock
|
174
|
+
- History.txt
|
96
175
|
- LICENSE
|
97
|
-
- README.
|
176
|
+
- README.md
|
98
177
|
- Rakefile
|
99
178
|
- VERSION
|
100
179
|
- cucumber-farmer-1.0.1.gem
|
101
180
|
- cucumber-farmer-1.0.2.gem
|
181
|
+
- cucumber-farmer-1.0.3.gem
|
102
182
|
- cucumber-farmer.gemspec
|
103
183
|
- lib/farmer.rb
|
104
184
|
- lib/farmer/step_definitions.rb
|
185
|
+
- lib/farmer/version.rb
|
105
186
|
- test/helper.rb
|
187
|
+
- test/test_dependencies.rb
|
188
|
+
- test_app/Rakefile
|
189
|
+
- test_app/cucumber.yml
|
106
190
|
- test_app/features/home_page.feature
|
107
191
|
- test_app/features/human_confirmation.feature
|
108
192
|
- test_app/features/step_definitions/web_steps.rb
|
109
193
|
- test_app/features/support/env.rb
|
194
|
+
- test_app/lib/cucumber.rake
|
110
195
|
- test_app/test_app.rb
|
111
196
|
has_rdoc: true
|
112
|
-
homepage: http://github.com/mattscilipoti/farmer
|
197
|
+
homepage: http://github.com/mattscilipoti/cucumber-farmer
|
113
198
|
licenses: []
|
114
199
|
|
115
200
|
post_install_message:
|
@@ -144,3 +229,4 @@ specification_version: 3
|
|
144
229
|
summary: A library of cucumber step definitions, which allow you to use a human to assert conditions during acceptance tests.
|
145
230
|
test_files:
|
146
231
|
- test/helper.rb
|
232
|
+
- test/test_dependencies.rb
|