bddfire 1.5.4 → 1.5.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MDliYjM3OTg3NDNjYTNkYWQ3YjE4MTg5M2UxYjkzODU3OTY4M2QwYQ==
4
+ ZmI1YmY0MTA5ZTg3YjkxMzU4MWEwM2I3ZDNmNzUwYzRjYjYzMDVmZg==
5
5
  data.tar.gz: !binary |-
6
- MDhhNThhNDg2NjczYjc4MGRlNDQxNmM5NzNjNzQ4NzdiNDllMzMwNw==
6
+ ZjMyOGIyYTBmYTA1YmMwNTZmMmZkMTVhMjQ2M2RmYmZkYzA5ZjEwZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MzZkM2NiN2ZmYzVkNDYxOTNjMGE2YmUxMjVmN2U2OWFjNzhmMGFkOTdkYzYz
10
- NWU5YTUxYTU0ODBhZTE0M2I3MGE2ZGQzYjBhYTM5NDIzZDAzOTMwMzlmNzg4
11
- MmY5M2EzMmRjOTdkZWZkNzc5NDU4Yzg2Mzk2ZTBlN2I0NmZhOTY=
9
+ Yjk4ZjU0ZmY5OGI1YjE5MzJjYTUwNmMzZjQ0YjRlMzE4YmY1Y2RjNGM1Mzc4
10
+ NTRlNTFjOGJiODI2NDBjYzUwZjY0MWFiNzdmYTI1ODI2OTk2OTViYTk1NmNi
11
+ MzIyM2FkNjMxMmJjNDM2MWU2YjVhYzQ2MmZhNDdhOGUxZGMxMmM=
12
12
  data.tar.gz: !binary |-
13
- YWY5OTYyYzUyOTFjOGI4NTU0NTJmOTRmY2UzZGRiNDJkYzU2ZDYxNmExM2Uy
14
- ZDVkMTY5MDc3YmIxYzhjY2IyMTVjZDYwODYzZGY5Njg0ZWQ4YWExYmUxYzll
15
- N2YwMmQ1YzhkYjBmNTVjODk0ZTMzZWNmY2YzOGVjMmFmY2FiYTg=
13
+ OGY0MmNlZDU0NTUzOWI0N2VjNmVkMGZmZmNkNjY3M2VlY2Y4MjljYmI4MzJl
14
+ NzY4MzA4MTc2NTE5NjM1ZWQyYTgwYTY5MGU3ZjFlZmMwMmQxYmIxY2QzYTRm
15
+ MjdiOWZlYzcxN2ZkZTg5YWJmZjZlOTc4Y2I3ZjkxNDBkNDEyM2U=
data/Gemfile CHANGED
@@ -1,3 +1,3 @@
1
1
  source "http://rubygems.org"
2
2
  gemspec
3
- gem 'rspec'
3
+
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- bddfire (1.5.1)
4
+ bddfire (1.5.5)
5
5
  thor
6
6
 
7
7
  GEM
@@ -21,8 +21,15 @@ GEM
21
21
  ast (2.0.0)
22
22
  bluecloth (2.2.0)
23
23
  builder (3.2.2)
24
+ capybara (2.4.1)
25
+ mime-types (>= 1.16)
26
+ nokogiri (>= 1.3.3)
27
+ rack (>= 1.0.0)
28
+ rack-test (>= 0.5.4)
29
+ xpath (~> 2.0)
24
30
  childprocess (0.5.3)
25
31
  ffi (~> 1.0, >= 1.0.11)
32
+ cliver (0.3.2)
26
33
  cucumber (1.3.15)
27
34
  builder (>= 2.1.2)
28
35
  diff-lcs (>= 1.1.3)
@@ -51,7 +58,15 @@ GEM
51
58
  parser (2.2.0.pre.3)
52
59
  ast (>= 1.1, < 3.0)
53
60
  slop (~> 3.4, >= 3.4.5)
61
+ poltergeist (1.5.1)
62
+ capybara (~> 2.1)
63
+ cliver (~> 0.3.1)
64
+ multi_json (~> 1.0)
65
+ websocket-driver (>= 0.2.0)
54
66
  powerpack (0.0.9)
67
+ rack (1.5.2)
68
+ rack-test (0.6.2)
69
+ rack (>= 1.0)
55
70
  rainbow (2.0.0)
56
71
  rake (10.3.2)
57
72
  relish (0.7)
@@ -83,11 +98,21 @@ GEM
83
98
  rainbow (>= 1.99.1, < 3.0)
84
99
  ruby-progressbar (~> 1.4)
85
100
  ruby-progressbar (1.5.1)
101
+ rubyzip (1.1.6)
102
+ selenium-webdriver (2.42.0)
103
+ childprocess (>= 0.5.0)
104
+ multi_json (~> 1.0)
105
+ rubyzip (~> 1.0)
106
+ websocket (~> 1.0.4)
86
107
  slop (3.6.0)
87
108
  thor (0.19.1)
88
109
  thread_safe (0.3.4)
89
110
  tzinfo (1.2.1)
90
111
  thread_safe (~> 0.1)
112
+ websocket (1.0.7)
113
+ websocket-driver (0.3.4)
114
+ xpath (2.0.0)
115
+ nokogiri (~> 1.3)
91
116
  yard (0.8.7.4)
92
117
 
93
118
  PLATFORMS
@@ -97,11 +122,14 @@ DEPENDENCIES
97
122
  aruba
98
123
  bddfire!
99
124
  bluecloth
125
+ capybara
100
126
  cucumber
101
127
  cuke_sniffer
102
128
  parallel_tests
129
+ poltergeist
103
130
  rake
104
131
  relish
105
132
  rspec
106
133
  rubocop
134
+ selenium-webdriver
107
135
  yard
@@ -7,37 +7,118 @@ The usual:
7
7
 
8
8
  $ gem install bddfire
9
9
 
10
+ or include it into the Gemfile
11
+
12
+ gem 'bddfire'
13
+
10
14
  ## Usage
11
15
 
12
16
  In your project's root directory...
13
17
 
14
- ### Cucumber
18
+ ### Instant Ruby Cucumber Framework
15
19
 
16
20
  $ bddfire fire_cucumber
17
21
 
22
+ One command will install Ruby Cucumber framework with all possibly supported tools. This will create all the directories and files to support following tools
23
+ * Capybara
24
+ * Selenium-Webdriver
25
+ * Poltergeist: PhantomJS based headless driver for capybara
26
+ * Appium : Mobile test automation Framework
27
+ * Saucelabs : Cloud testing framework
28
+ * Browserstack : Cloud testing framework
29
+ * Relish : Living Documenation
30
+ * Yard : Cucumber documentation
31
+ * Rubocop : Ruby code review tool
32
+ * CI Support Script
18
33
 
19
- This will create a `features` directory with all the files you need to hit the
20
34
 
21
35
  If you don't already have a `Gemfile` or `Rakefile`, one will be created.
22
36
 
23
37
  Output will look like this:
24
38
 
25
39
  append Gemfile
26
- append Rakefile
27
- identical features/step_definitions/{directoryname}_steps.rb
28
- identical features/try.feature
29
- identical config_files/cucumber.yml
30
- identical config_files/.rubocop.yml
31
- create config_files/.ruby-version
32
- create config_files/.travis.yml
33
- create config_files/.relish
40
+ create Rakefile
41
+ create features/step_definitions/google_steps.rb
42
+ create features/step_definitions/{project_nemae}_steps.rb
43
+ create features/{project_nemae}.feature
44
+ create features/google.feature
45
+ create cucumber.yml
46
+ create .rubocop.yml
47
+ create .ruby-version
48
+ create .travis.yml
49
+ create .relish
50
+ create .yard.yml
51
+ create browser.json
52
+ create package.json
53
+ create README.md
54
+ create ci_script
34
55
  create features/support/env.rb
35
56
  create features/support/hooks.rb
36
57
  create features/support/responsive.rb
58
+ create features/pages/HomePage.rb
59
+ create features/pages/Abstract.rb
37
60
  create features/support/helpers.rb
38
61
  create .gitignore
39
62
 
40
63
 
64
+ ### Install & Run BDDfire framework
65
+
66
+ Now, we need to run bundle install [Fix nokogiri error if you get any by using supported nokogiri version]
67
+
68
+ $ bundle install
69
+
70
+ Once installed, you can run cucumber with multiple caybara driver
71
+
72
+ Use Selenium
73
+
74
+ $ bundle exec cucumber -p selenium
75
+
76
+ Use Headless Poletergeist
77
+
78
+ $ bundle exec cucumber -p poltergeist
79
+
80
+ Use Saucelabs : Please enter your SAUCE_USERNAME and SAUCELABS key in the env.rb file
81
+
82
+ $ bundle exec cucumber -p sauce
83
+
84
+ Use Browserstack : Please enter your BS_USERNAME and BS_KEY key in the env.rb file
85
+
86
+ $ bundle exec cucumber -p browserstak
87
+
88
+ Using Appium, run Appium server in the background. You need to have iOS setup.
89
+
90
+ $ npm install
91
+ $ ./node_modules/.bin/appium
92
+
93
+ Now run cucumber with appium
94
+
95
+ $ bundle exec cucumber -p appium
96
+
97
+ ## Use Rake
98
+
99
+ You can also use Rake taks created automatically for you
100
+
101
+ $ bundle exec rake features
102
+
103
+ You can run Cuke_sniffer report on your project
104
+
105
+ $ bundle exec rake cuke_sniffer
106
+
107
+ You can run rubocop report on your project
108
+
109
+ $ bundle exec rake rubocop
110
+
111
+
112
+ ## CI Integration
113
+
114
+ Currently, you can use the script 'ci_script' on Jenkins or Hudson. More CI inegration is on the way.
115
+
116
+ You need pass rake rask to the script
117
+
118
+ $ ./ci_script features
119
+
120
+
121
+ ## Awesome and more awesome stuff is coming soon. STAY TUNED !
41
122
 
42
123
 
43
124
  ## LICENSE
@@ -12,11 +12,14 @@ Gem::Specification.new do |s|
12
12
  s.license = 'MIT'
13
13
  s.required_ruby_version = '>= 1.9.3'
14
14
  s.summary = %q{Get started with BDD, Cucumber and friends in a minute}
15
- s.description = %q{BDD Blue print for the cucumber, capybara, selenium, poltergeist, cuke_sniffer, rubocop, relish, yard and many more awesome libraries}
15
+ s.description = %q{Instant BDD Framework - Ruby, Cucumber, Capybara, selenium, Appium, Saucelabs, Browserstack, poltergeist, cuke_sniffer, rubocop, relish, yard and many more awesome libraries}
16
16
  s.add_dependency "thor"
17
17
  s.add_development_dependency "rake"
18
18
  s.add_development_dependency "rspec"
19
19
  s.add_development_dependency "cucumber"
20
+ s.add_development_dependency "capybara"
21
+ s.add_development_dependency "poltergeist"
22
+ s.add_development_dependency "selenium-webdriver"
20
23
  s.add_development_dependency "aruba"
21
24
  s.add_development_dependency "yard"
22
25
  s.add_development_dependency "bluecloth"
@@ -14,7 +14,7 @@ module BDDfire
14
14
  say BDDfire::VERSION
15
15
  end
16
16
 
17
- desc "fire_cucumber", "Set up cucumber"
17
+ desc "fire_cucumber", "Set up cucumber framework with all the directories and standard templates, supporting all the available tools around cucumber"
18
18
  def fire_cucumber
19
19
  genarate_gemfile
20
20
  insert_gem 'cucumber'
@@ -60,7 +60,7 @@ module BDDfire
60
60
  append_file ".gitignore", ".travis.yml\n"
61
61
  end
62
62
 
63
- desc "fire_rspec", "Set up rspec"
63
+ desc "fire_rspec", "Set up rspec framework with skeleton directories"
64
64
  def fire_rspec
65
65
  genarate_gemfile
66
66
  insert_gem 'rspec'
@@ -69,7 +69,7 @@ module BDDfire
69
69
  copy_file "spec/spec_helper.rb"
70
70
  end
71
71
 
72
- desc "generate_yard", "Set up Yard"
72
+ desc "generate_yard", "This will generate yard documentation for your cucumber project"
73
73
  def generate_yard
74
74
  genarate_gemfile
75
75
  insert_gem 'yard'
@@ -94,6 +94,7 @@ module BDDfire
94
94
  append_file "Gemfile" do
95
95
  "source 'http://rubygems.org'\n\n" +
96
96
  "gem 'rake'\n"
97
+ "gem 'nokogiri', '1.6.1'\n"
97
98
  end
98
99
  end
99
100
  end
@@ -1,3 +1,3 @@
1
1
  module BDDfire
2
- VERSION = "1.5.4"
2
+ VERSION = "1.5.5"
3
3
  end
@@ -6,6 +6,7 @@ BDD Scenarios
6
6
  Your description to install project
7
7
 
8
8
  $ bundle install
9
+ Make sure you are using corect ruby version.
9
10
 
10
11
  ## Usage
11
12
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bddfire
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.4
4
+ version: 1.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shashikant Jagtap
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-23 00:00:00.000000000 Z
11
+ date: 2014-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -66,6 +66,48 @@ dependencies:
66
66
  - - ! '>='
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: capybara
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ! '>='
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: poltergeist
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ! '>='
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ! '>='
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: selenium-webdriver
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ! '>='
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ! '>='
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
69
111
  - !ruby/object:Gem::Dependency
70
112
  name: aruba
71
113
  requirement: !ruby/object:Gem::Requirement
@@ -164,8 +206,9 @@ dependencies:
164
206
  - - ! '>='
165
207
  - !ruby/object:Gem::Version
166
208
  version: '0'
167
- description: BDD Blue print for the cucumber, capybara, selenium, poltergeist, cuke_sniffer,
168
- rubocop, relish, yard and many more awesome libraries
209
+ description: Instant BDD Framework - Ruby, Cucumber, Capybara, selenium, Appium, Saucelabs,
210
+ Browserstack, poltergeist, cuke_sniffer, rubocop, relish, yard and many more awesome
211
+ libraries
169
212
  email:
170
213
  - shashikant.jagtap@aol.co.uk
171
214
  executables: