cucumber-websteps 0.9.0 → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/.gitignore +1 -0
- data/.travis.yml +5 -0
- data/CHANGELOG.md +45 -0
- data/LICENSE +22 -0
- data/README.md +8 -0
- data/Rakefile +18 -7
- data/config.ru +5 -0
- data/cucumber-websteps.gemspec +7 -4
- data/cucumber.yml +7 -3
- data/features/CHANGELOG.md +9 -2
- data/features/LICENSE.md +22 -0
- data/features/README.md +12 -28
- data/features/profiles/rack_test.rb +3 -0
- data/features/profiles/selenium.rb +3 -0
- data/features/support/env.rb +23 -12
- data/features/support/selectors.rb +1 -1
- data/lib/cucumber-websteps.rb +1 -0
- data/lib/cucumber/websteps/browsing_steps.rb +1 -1
- data/lib/cucumber/websteps/form_steps.rb +8 -8
- data/lib/cucumber/websteps/step_scoper.rb +4 -4
- data/lib/cucumber/websteps/version.rb +1 -1
- data/{features/support/test_app.rb → test/app.rb} +1 -3
- data/{features/support/test_app_views → test/views}/congratulations.erb +0 -0
- data/{features/support/test_app_views → test/views}/form.erb +0 -0
- data/{features/support/test_app_views → test/views}/form_result.erb +0 -0
- data/{features/support/test_app_views → test/views}/home.erb +2 -0
- data/{features/support/test_app_views → test/views}/layout.erb +0 -0
- metadata +102 -30
- data/features/setup/rack_test.rb +0 -5
- data/features/setup/selenium.rb +0 -12
data/.gitignore
CHANGED
data/.travis.yml
CHANGED
data/CHANGELOG.md
ADDED
@@ -0,0 +1,45 @@
|
|
1
|
+
Unreleased
|
2
|
+
----------
|
3
|
+
|
4
|
+
* TODO: add steps to work with tables
|
5
|
+
* TODO: added 'about disabled form fields'
|
6
|
+
* TODO: handle disabled form fields
|
7
|
+
|
8
|
+
0.10.0
|
9
|
+
------
|
10
|
+
|
11
|
+
* fixed cucumber i18n deprecation warning
|
12
|
+
* updated capybara to >= 1.1.2
|
13
|
+
|
14
|
+
0.9.0
|
15
|
+
-----
|
16
|
+
|
17
|
+
* added and improved standard cucumber websteps:
|
18
|
+
* 'I fill in "field"...' :
|
19
|
+
|
20
|
+
When I fill in "TextArea" with:
|
21
|
+
"""
|
22
|
+
some
|
23
|
+
bla
|
24
|
+
bla
|
25
|
+
"""
|
26
|
+
|
27
|
+
* 'I fill in the following' now can handle selects, checkboxes and radiobuttons:
|
28
|
+
|
29
|
+
When I fill in the following:
|
30
|
+
| Name | my name |
|
31
|
+
| Sex (select) | Male |
|
32
|
+
| Accept user agrement (checkbox) | check |
|
33
|
+
| Send me letters (checkbox) | uncheck |
|
34
|
+
| radio 1 (radio) | choose |
|
35
|
+
| Avatar (file) | avatar.png |
|
36
|
+
* 'I attach file' step will raise exception if file not found and will search file in features/support/attachments
|
37
|
+
* improved 'I should see //...' step to add options to regexp
|
38
|
+
* added 'I should be redirected to' step(but not finished)
|
39
|
+
* added 'I select following values'
|
40
|
+
* added 'I unselect following values'
|
41
|
+
* added 'the select "select" should have following options'
|
42
|
+
* added 'the following values should be selected'
|
43
|
+
* added 'the following values should not be selected'
|
44
|
+
* added 'I should see 2 elements kind of ...'
|
45
|
+
* added 'I should not see elements kind of ...'
|
data/LICENSE
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2008,2009,2010,2011 Aslak Hellesøy and the Cucumber Team.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
Cucumber web steps [](http://travis-ci.org/kucaahbe/cucumber-websteps)
|
2
2
|
==========================================================================================================================================
|
3
3
|
|
4
|
+
Attention!!!
|
5
|
+
|
6
|
+
Before you start, please read [this](http://aslakhellesoy.com/post/11055981222/the-training-wheels-came-off).
|
7
|
+
|
8
|
+
This gem just collected common browsing step, just to prevent you from repeating self by writing every time this steps in every your project.
|
9
|
+
|
10
|
+
Write your own steps, use this steps if you <strong>really</strong> need to write in scenario "When I click ..."
|
11
|
+
|
4
12
|
Description
|
5
13
|
-----------
|
6
14
|
|
data/Rakefile
CHANGED
@@ -3,14 +3,25 @@ require 'cucumber'
|
|
3
3
|
require 'cucumber/rake/task'
|
4
4
|
Bundler::GemHelper.install_tasks
|
5
5
|
|
6
|
-
|
7
|
-
|
6
|
+
drivers = %w(rack_test selenium)
|
7
|
+
test_unit_framework = case RUBY_VERSION
|
8
|
+
when '1.8.7'
|
9
|
+
'test_unit'
|
10
|
+
when /^1\.9\.\d/
|
11
|
+
'minitest'
|
12
|
+
end
|
13
|
+
test_frameworks=%W(rspec #{test_unit_framework})
|
14
|
+
|
15
|
+
task :default => drivers.map { |d| test_frameworks.map { |tf| "examples:#{d}:#{tf}" } }.flatten
|
8
16
|
|
9
17
|
namespace :examples do
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
18
|
+
drivers.each do |driver|
|
19
|
+
namespace driver do
|
20
|
+
test_frameworks.each do |test_framework|
|
21
|
+
Cucumber::Rake::Task.new(test_framework,"run features using #{driver} and #{test_framework}") do |t|
|
22
|
+
t.profile="#{driver}_#{test_framework}"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
15
26
|
end
|
16
27
|
end
|
data/config.ru
ADDED
data/cucumber-websteps.gemspec
CHANGED
@@ -9,8 +9,8 @@ Gem::Specification.new do |s|
|
|
9
9
|
s.authors = ["kucaahbe"]
|
10
10
|
s.email = ["kucaahbe@ukr.net"]
|
11
11
|
s.homepage = "http://relishapp.com/kucaahbe/cucumber-websteps"
|
12
|
-
s.summary = %q{Capybara powered common cucumber web steps
|
13
|
-
s.description = %q{
|
12
|
+
s.summary = %q{Capybara powered common cucumber web steps.}
|
13
|
+
s.description = %q{cucumber web steps, designed to work with any of capybara's drivers. Test framework agnostic (you can use them with rspec-1, rspec-2, test/unit and minitest).}
|
14
14
|
|
15
15
|
s.rubyforge_project = "cucumber-websteps"
|
16
16
|
|
@@ -19,9 +19,12 @@ Gem::Specification.new do |s|
|
|
19
19
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
20
20
|
s.require_paths = ["lib"]
|
21
21
|
|
22
|
-
s.add_dependency 'capybara'
|
23
|
-
s.add_dependency 'cucumber'
|
22
|
+
s.add_dependency 'capybara', '>= 1.1.2'
|
23
|
+
s.add_dependency 'cucumber', '>= 1.1.1'
|
24
24
|
s.add_dependency 'launchy'
|
25
25
|
|
26
26
|
s.add_development_dependency 'sinatra'
|
27
|
+
s.add_development_dependency 'cucumber-sinatra'
|
28
|
+
s.add_development_dependency 'rake'
|
29
|
+
s.add_development_dependency 'rspec'
|
27
30
|
end
|
data/cucumber.yml
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
# vim:ft=eruby
|
2
|
+
rack_test_rspec: -r rspec -r features/support -r features/profiles/rack_test.rb -r features/step_definitions features
|
3
|
+
rack_test_test_unit: -r test/unit -r features/support -r features/profiles/rack_test.rb -r features/step_definitions features
|
4
|
+
selenium_rspec: -r rspec -r features/support -r features/profiles/selenium.rb -r features/step_definitions features
|
5
|
+
selenium_test_unit: -r test/unit -r features/support -r features/profiles/selenium.rb -r features/step_definitions features
|
6
|
+
rack_test_minitest: -r minitest/unit -r features/support -r features/profiles/rack_test.rb -r features/step_definitions features
|
7
|
+
selenium_minitest: -r minitest/unit -r features/support -r features/profiles/selenium.rb -r features/step_definitions features
|
data/features/CHANGELOG.md
CHANGED
@@ -1,9 +1,16 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
Unreleased
|
2
|
+
----------
|
3
3
|
|
4
|
+
* TODO: add steps to work with tables
|
4
5
|
* TODO: added 'about disabled form fields'
|
5
6
|
* TODO: handle disabled form fields
|
6
7
|
|
8
|
+
0.10.0
|
9
|
+
------
|
10
|
+
|
11
|
+
* fixed cucumber i18n deprecation warning
|
12
|
+
* updated capybara to >= 1.1.2
|
13
|
+
|
7
14
|
0.9.0
|
8
15
|
-----
|
9
16
|
|
data/features/LICENSE.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
The MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2008,2009,2010,2011 Aslak Hellesøy and the Cucumber Team.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/features/README.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
Cucumber web steps [](http://travis-ci.org/kucaahbe/cucumber-websteps)
|
2
2
|
==========================================================================================================================================
|
3
3
|
|
4
|
+
Attention!!!
|
5
|
+
|
6
|
+
Before you start, please read [this](http://aslakhellesoy.com/post/11055981222/the-training-wheels-came-off).
|
7
|
+
|
8
|
+
This gem just collected common browsing step, just to prevent you from repeating self by writing every time this steps in every your project.
|
9
|
+
|
10
|
+
Write your own steps, use this steps if you <strong>really</strong> need to write in scenario "When I click ..."
|
11
|
+
|
4
12
|
Description
|
5
13
|
-----------
|
6
14
|
|
@@ -15,33 +23,9 @@ Description
|
|
15
23
|
* [launchy](http://rubygems.org/gems/launchy) included :)
|
16
24
|
* blackjack and hookers ;)
|
17
25
|
|
18
|
-
Install
|
19
|
-
|
20
|
-
|
21
|
-
### install gem
|
22
|
-
|
23
|
-
run in console:
|
24
|
-
|
25
|
-
[sudo] gem install cucumber-websteps
|
26
|
-
|
27
|
-
or add to Gemfile:
|
28
|
-
|
29
|
-
gem 'cucumber-websteps'
|
30
|
-
|
31
|
-
### setup in application
|
32
|
-
|
33
|
-
if you are using rails, then you already <b>have (and know about)</b> following files:
|
34
|
-
|
35
|
-
<b>features/support/paths.rb</b>
|
36
|
-
|
37
|
-
<b>features/support/selectors.rb</b>
|
38
|
-
|
39
|
-
they should be as they is, if you do not have these files or don't know what they are then just add them with [this content](http://gist.github.com/993837)
|
40
|
-
<script src="https://gist.github.com/993837.js?file=paths.rb"></script>
|
41
|
-
<script src="https://gist.github.com/993837.js?file=selectors.rb"></script>
|
42
|
-
and replace (or add) <b>features/step_definitions/web_steps.rb</b> with [this content](http://gist.github.com/993837#file_web_steps.rb)
|
43
|
-
<script src="https://gist.github.com/993837.js?file=web_steps.rb"></script>
|
26
|
+
[Install](http://relishapp.com/kucaahbe/cucumber-websteps)
|
27
|
+
----------------------------------------------------------
|
44
28
|
|
45
|
-
|
29
|
+
and enjoy!
|
46
30
|
|
47
|
-
|
31
|
+

|
data/features/support/env.rb
CHANGED
@@ -1,18 +1,29 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
# Generated by cucumber-sinatra. (Sat May 28 22:45:12 +0300 2011)
|
2
|
+
|
3
|
+
ENV['RACK_ENV'] = 'test'
|
4
|
+
|
5
|
+
require File.join(File.dirname(__FILE__), '..', '..', 'test/app.rb')
|
4
6
|
|
5
7
|
require 'capybara'
|
6
|
-
require 'capybara/
|
7
|
-
World(Capybara)
|
8
|
+
require 'capybara/cucumber'
|
8
9
|
|
9
10
|
Capybara.app = TestApp
|
10
|
-
Capybara.
|
11
|
+
Capybara.save_and_open_page_path = File.expand_path(File.join(File.dirname(__FILE__),'../../tmp'))
|
12
|
+
|
13
|
+
class TestAppWorld
|
14
|
+
include Capybara::DSL
|
15
|
+
if defined?(RSpec)
|
16
|
+
include RSpec::Expectations
|
17
|
+
include RSpec::Matchers
|
18
|
+
else
|
19
|
+
begin
|
20
|
+
include MiniTest::Assertions
|
21
|
+
rescue NameError
|
22
|
+
include Test::Unit::Assertions
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
11
26
|
|
12
|
-
|
13
|
-
|
14
|
-
World(MiniTest::Assertions)
|
15
|
-
rescue LoadError
|
16
|
-
require 'test/unit'
|
17
|
-
World(Test::Unit::Assertions)
|
27
|
+
World do
|
28
|
+
TestAppWorld.new
|
18
29
|
end
|
@@ -0,0 +1 @@
|
|
1
|
+
# fake file to prevent bundler automatically load the gem
|
@@ -21,22 +21,22 @@ When /^(?:|I )fill in the following:$/ do |fields|
|
|
21
21
|
fields.rows_hash.each do |name, value|
|
22
22
|
case name
|
23
23
|
when select_tag
|
24
|
-
|
24
|
+
step %(I select "#{value}" from "#{$1}")
|
25
25
|
when check_box_tag
|
26
26
|
case value
|
27
27
|
when 'check'
|
28
|
-
|
28
|
+
step %(I check "#{$1}")
|
29
29
|
when 'uncheck'
|
30
|
-
|
30
|
+
step %(I uncheck "#{$1}")
|
31
31
|
else
|
32
32
|
raise 'checkbox values: check|uncheck!'
|
33
33
|
end
|
34
34
|
when radio_button
|
35
|
-
|
35
|
+
step %{I choose "#{$1}"}
|
36
36
|
when file_field
|
37
|
-
|
37
|
+
step %{I attach the file "#{value}" to "#{$1}"}
|
38
38
|
else
|
39
|
-
|
39
|
+
step %{I fill in "#{name}" with "#{value}"}
|
40
40
|
end
|
41
41
|
end
|
42
42
|
end
|
@@ -75,7 +75,7 @@ end
|
|
75
75
|
Then /^the "([^"]*)" field(?: within (.*))? should contain "([^"]*)"$/ do |field, parent, value|
|
76
76
|
with_scope(parent) do
|
77
77
|
field = find_field(field)
|
78
|
-
field_value =
|
78
|
+
field_value = field.value
|
79
79
|
if field_value.respond_to? :should
|
80
80
|
field_value.should =~ /#{value}/
|
81
81
|
else
|
@@ -87,7 +87,7 @@ end
|
|
87
87
|
Then /^the "([^"]*)" field(?: within (.*))? should not contain "([^"]*)"$/ do |field, parent, value|
|
88
88
|
with_scope(parent) do
|
89
89
|
field = find_field(field)
|
90
|
-
field_value =
|
90
|
+
field_value = field.value
|
91
91
|
if field_value.respond_to? :should_not
|
92
92
|
field_value.should_not =~ /#{value}/
|
93
93
|
else
|
@@ -1,9 +1,9 @@
|
|
1
1
|
# Single-line step scoper
|
2
|
-
When /^(.*) within ([^:]+)$/ do |
|
3
|
-
with_scope(parent) {
|
2
|
+
When /^(.*) within ([^:]+)$/ do |step_def, parent|
|
3
|
+
with_scope(parent) { step step_def }
|
4
4
|
end
|
5
5
|
|
6
6
|
# Multi-line step scoper
|
7
|
-
When /^(.*) within ([^:]+):$/ do |
|
8
|
-
with_scope(parent) {
|
7
|
+
When /^(.*) within ([^:]+):$/ do |step_def, parent, table_or_string|
|
8
|
+
with_scope(parent) { step "#{step_def}:", table_or_string }
|
9
9
|
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
require 'sinatra/base'
|
2
2
|
class TestApp < Sinatra::Base
|
3
3
|
|
4
|
-
set :views, File.dirname(__FILE__) + '/
|
4
|
+
set :views, File.dirname(__FILE__) + '/views'
|
5
5
|
|
6
6
|
get '/' do
|
7
7
|
erb :home
|
@@ -25,5 +25,3 @@ class TestApp < Sinatra::Base
|
|
25
25
|
end
|
26
26
|
|
27
27
|
end
|
28
|
-
|
29
|
-
TestApp.run! unless defined?(Cucumber)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cucumber-websteps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 55
|
4
5
|
prerelease:
|
5
|
-
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 10
|
9
|
+
- 0
|
10
|
+
version: 0.10.0
|
6
11
|
platform: ruby
|
7
12
|
authors:
|
8
13
|
- kucaahbe
|
@@ -10,54 +15,111 @@ autorequire:
|
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
17
|
|
13
|
-
date:
|
14
|
-
default_executable:
|
18
|
+
date: 2012-01-27 00:00:00 Z
|
15
19
|
dependencies:
|
16
20
|
- !ruby/object:Gem::Dependency
|
17
|
-
|
18
|
-
prerelease: false
|
19
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
21
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
20
22
|
none: false
|
21
23
|
requirements:
|
22
24
|
- - ">="
|
23
25
|
- !ruby/object:Gem::Version
|
24
|
-
|
26
|
+
hash: 23
|
27
|
+
segments:
|
28
|
+
- 1
|
29
|
+
- 1
|
30
|
+
- 2
|
31
|
+
version: 1.1.2
|
32
|
+
prerelease: false
|
33
|
+
requirement: *id001
|
25
34
|
type: :runtime
|
26
|
-
|
35
|
+
name: capybara
|
27
36
|
- !ruby/object:Gem::Dependency
|
28
|
-
|
37
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
38
|
+
none: false
|
39
|
+
requirements:
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
hash: 17
|
43
|
+
segments:
|
44
|
+
- 1
|
45
|
+
- 1
|
46
|
+
- 1
|
47
|
+
version: 1.1.1
|
29
48
|
prerelease: false
|
30
|
-
requirement:
|
49
|
+
requirement: *id002
|
50
|
+
type: :runtime
|
51
|
+
name: cucumber
|
52
|
+
- !ruby/object:Gem::Dependency
|
53
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
31
54
|
none: false
|
32
55
|
requirements:
|
33
56
|
- - ">="
|
34
57
|
- !ruby/object:Gem::Version
|
58
|
+
hash: 3
|
59
|
+
segments:
|
60
|
+
- 0
|
35
61
|
version: "0"
|
62
|
+
prerelease: false
|
63
|
+
requirement: *id003
|
36
64
|
type: :runtime
|
37
|
-
version_requirements: *id002
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
65
|
name: launchy
|
66
|
+
- !ruby/object:Gem::Dependency
|
67
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
hash: 3
|
73
|
+
segments:
|
74
|
+
- 0
|
75
|
+
version: "0"
|
40
76
|
prerelease: false
|
41
|
-
requirement:
|
77
|
+
requirement: *id004
|
78
|
+
type: :development
|
79
|
+
name: sinatra
|
80
|
+
- !ruby/object:Gem::Dependency
|
81
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
42
82
|
none: false
|
43
83
|
requirements:
|
44
84
|
- - ">="
|
45
85
|
- !ruby/object:Gem::Version
|
86
|
+
hash: 3
|
87
|
+
segments:
|
88
|
+
- 0
|
46
89
|
version: "0"
|
47
|
-
|
48
|
-
|
90
|
+
prerelease: false
|
91
|
+
requirement: *id005
|
92
|
+
type: :development
|
93
|
+
name: cucumber-sinatra
|
49
94
|
- !ruby/object:Gem::Dependency
|
50
|
-
|
95
|
+
version_requirements: &id006 !ruby/object:Gem::Requirement
|
96
|
+
none: false
|
97
|
+
requirements:
|
98
|
+
- - ">="
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
hash: 3
|
101
|
+
segments:
|
102
|
+
- 0
|
103
|
+
version: "0"
|
51
104
|
prerelease: false
|
52
|
-
requirement:
|
105
|
+
requirement: *id006
|
106
|
+
type: :development
|
107
|
+
name: rake
|
108
|
+
- !ruby/object:Gem::Dependency
|
109
|
+
version_requirements: &id007 !ruby/object:Gem::Requirement
|
53
110
|
none: false
|
54
111
|
requirements:
|
55
112
|
- - ">="
|
56
113
|
- !ruby/object:Gem::Version
|
114
|
+
hash: 3
|
115
|
+
segments:
|
116
|
+
- 0
|
57
117
|
version: "0"
|
118
|
+
prerelease: false
|
119
|
+
requirement: *id007
|
58
120
|
type: :development
|
59
|
-
|
60
|
-
description:
|
121
|
+
name: rspec
|
122
|
+
description: cucumber web steps, designed to work with any of capybara's drivers. Test framework agnostic (you can use them with rspec-1, rspec-2, test/unit and minitest).
|
61
123
|
email:
|
62
124
|
- kucaahbe@ukr.net
|
63
125
|
executables: []
|
@@ -70,29 +132,28 @@ files:
|
|
70
132
|
- .gitignore
|
71
133
|
- .travis.yml
|
72
134
|
- .yardopts
|
135
|
+
- CHANGELOG.md
|
73
136
|
- Gemfile
|
137
|
+
- LICENSE
|
74
138
|
- README.md
|
75
139
|
- Rakefile
|
140
|
+
- config.ru
|
76
141
|
- cucumber-websteps.gemspec
|
77
142
|
- cucumber.yml
|
78
143
|
- features/CHANGELOG.md
|
144
|
+
- features/LICENSE.md
|
79
145
|
- features/README.md
|
80
146
|
- features/defined_steps/forms_steps.feature
|
81
147
|
- features/defined_steps/simple_steps.feature
|
82
|
-
- features/
|
83
|
-
- features/
|
148
|
+
- features/profiles/rack_test.rb
|
149
|
+
- features/profiles/selenium.rb
|
84
150
|
- features/step_definitions/web_steps.rb
|
85
151
|
- features/support/attachments/avatar.png
|
86
152
|
- features/support/env.rb
|
87
153
|
- features/support/paths.rb
|
88
154
|
- features/support/selectors.rb
|
89
|
-
- features/support/test_app.rb
|
90
|
-
- features/support/test_app_views/congratulations.erb
|
91
|
-
- features/support/test_app_views/form.erb
|
92
|
-
- features/support/test_app_views/form_result.erb
|
93
|
-
- features/support/test_app_views/home.erb
|
94
|
-
- features/support/test_app_views/layout.erb
|
95
155
|
- lib/_unsorted.rb
|
156
|
+
- lib/cucumber-websteps.rb
|
96
157
|
- lib/cucumber/websteps.rb
|
97
158
|
- lib/cucumber/websteps/browsing_steps.rb
|
98
159
|
- lib/cucumber/websteps/debug_steps.rb
|
@@ -100,7 +161,12 @@ files:
|
|
100
161
|
- lib/cucumber/websteps/step_scoper.rb
|
101
162
|
- lib/cucumber/websteps/version.rb
|
102
163
|
- steps.jpg
|
103
|
-
|
164
|
+
- test/app.rb
|
165
|
+
- test/views/congratulations.erb
|
166
|
+
- test/views/form.erb
|
167
|
+
- test/views/form_result.erb
|
168
|
+
- test/views/home.erb
|
169
|
+
- test/views/layout.erb
|
104
170
|
homepage: http://relishapp.com/kucaahbe/cucumber-websteps
|
105
171
|
licenses: []
|
106
172
|
|
@@ -114,19 +180,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
180
|
requirements:
|
115
181
|
- - ">="
|
116
182
|
- !ruby/object:Gem::Version
|
183
|
+
hash: 3
|
184
|
+
segments:
|
185
|
+
- 0
|
117
186
|
version: "0"
|
118
187
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
188
|
none: false
|
120
189
|
requirements:
|
121
190
|
- - ">="
|
122
191
|
- !ruby/object:Gem::Version
|
192
|
+
hash: 3
|
193
|
+
segments:
|
194
|
+
- 0
|
123
195
|
version: "0"
|
124
196
|
requirements: []
|
125
197
|
|
126
198
|
rubyforge_project: cucumber-websteps
|
127
|
-
rubygems_version: 1.
|
199
|
+
rubygems_version: 1.8.11
|
128
200
|
signing_key:
|
129
201
|
specification_version: 3
|
130
|
-
summary: Capybara powered common cucumber web steps
|
202
|
+
summary: Capybara powered common cucumber web steps.
|
131
203
|
test_files: []
|
132
204
|
|
data/features/setup/rack_test.rb
DELETED