bddfire 1.5.6 → 1.5.7

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.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NzY0MDRlMDU5MWVkZWUxNWM2ZDU4NmVmY2QxNTg1Y2VkYTAyMjE3OQ==
4
+ MDlhYWY1MTU3OTJiOTY5YjgyNzQyZmQwNWViOTdlYjc4ZDA0ZDIxMg==
5
5
  data.tar.gz: !binary |-
6
- Zjk0ZDVlNmIxYjdhYWFhZWE2OTMzYWQ2NzRhYWE4MmY2NDUzOWNjNw==
6
+ MTM3MjIxZmM1YjJlZDQwZjIwN2E5MzVjMjc0ZDUyZmIzZTgzM2EyOA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDczNjQ1OTJlMjNiNDRhMTk4ZDJiMTU5ZGI1YWVjNjBkNjhjZjA0MDNjZDEy
10
- ZmRkZjcyMjllYjQxMjY0ZTlkZTZhZWJlMDA1YWM4MWUxMzQyYjIyYzQ1NTM1
11
- ZDA0OWQzN2ViNjNjNTZhZjQzNTM4OGVkMGUyOTUxZTM5ZjkyYWQ=
9
+ Yjk0YzM4NWJlNWUwNzVmYjVkYWY0NmE4YmZhOGNjNDJlYzUyZWI1NDc0NjEy
10
+ ZGEyNDIyMjEzZDJhNDUzNzdhNzVhNDA5MWRiY2RhYmY4MDhiMjExNWY2MmVj
11
+ MzQ3NWNiYTljYTljMzE2YmY1MjNkYzMwYWI2NjJhNjk0MDhjOTA=
12
12
  data.tar.gz: !binary |-
13
- YjhjOGFmNzZhOTAzNDY1YzYzMjhiMzFmZTA4Njk4NWM4MzU5MTQ1M2Q2MmUy
14
- MDc0MTljZjdmY2U5ZjI5MDMyYzUzYjRhY2I2MDEwYzk1NDY4YmFiMGI1NzE4
15
- MGNjN2MxNjE5MDg2OWRkNTA1M2E1ZjY4MTk1YWIxMjI5N2ZiOTI=
13
+ MGUyNTg4OTZlNjMwNTFlZmE4NjE2NTk4NjllZjUzMzYzZGU4N2YyODRhNWUw
14
+ NTBlMWVkMWNlMmUzYzkzYzg5M2JmOTg4ZGEyMTlhM2UyOTkyZGZlOWUyOGQz
15
+ NmMyNDVlNGU0ZDA0NGQ3NzBiNjEyNzdkYzk3ZWQyN2RmNzc3ODU=
data/README.markdown CHANGED
@@ -26,6 +26,7 @@ One command will install Ruby Cucumber framework with all possibly supported too
26
26
  * Appium : Mobile test automation Framework
27
27
  * Saucelabs : Cloud testing framework
28
28
  * Browserstack : Cloud testing framework
29
+ * TestingBot : Cloud testing framework
29
30
  * Relish : Living Documenation
30
31
  * Yard : Cucumber documentation
31
32
  * Rubocop : Ruby code review tool
@@ -85,6 +86,10 @@ Use Browserstack : Please enter your BS_USERNAME and BS_KEY key in the env.rb fi
85
86
 
86
87
  $ bundle exec cucumber -p browserstak
87
88
 
89
+ Use TestingBot : Please enter your TB_KEY and TB_SECRET key in the env.rb file
90
+
91
+ $ bundle exec cucumber -p testingbot
92
+
88
93
  Using Appium, run Appium server in the background. You need to have iOS setup.
89
94
 
90
95
  $ npm install
data/bddfire.gemspec CHANGED
@@ -12,7 +12,7 @@ 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{Instant BDD Framework - Ruby, Cucumber, Capybara, selenium, Appium, Saucelabs, Browserstack, 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, Testingbot, 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"
@@ -1,3 +1,3 @@
1
1
  module BDDfire
2
- VERSION = "1.5.6"
2
+ VERSION = "1.5.7"
3
3
  end
@@ -2,6 +2,7 @@ default: -p selenium
2
2
  html_report: --format pretty --format html --out=features_report.html
3
3
  bvt: --tags @test
4
4
  browserstack : DRIVER=browserstack
5
+ testingbot: DRIVER=testingbot
5
6
  poltergeist : DRIVER=poltergeist
6
7
  selenium : DRIVER=selenium
7
8
  appium : DRIVER=appium
@@ -58,6 +58,26 @@ Capybara.register_driver :browserstack do |app|
58
58
  )
59
59
  end
60
60
 
61
+ Capybara.register_driver :testingbot do |app|
62
+ stackToUse = ENV['TB_STACK'] || 'osx_firefox'
63
+ json = JSON.load(open(File.expand_path(File.join(File.dirname(__FILE__), '..', '..', 'browsers.json'))))
64
+ config = json[stackToUse]
65
+ unless config
66
+ puts "invalid TB_STACK specified. Was '#{stackToUse}'"
67
+ return
68
+ end
69
+
70
+ # Add default config
71
+ config['name'] = "#{config['os']} #{config['os_version']} - #{Time.now.strftime '%Y-%m-%d %H:%M'}"
72
+ config['acceptSslCert'] = false
73
+
74
+ Capybara::Selenium::Driver.new(app,
75
+ :browser => :remote,
76
+ :desired_capabilities => config,
77
+ :url => "http://KEY:SECRET@hub.testingbot.com/wd/hub"
78
+ )
79
+ end
80
+
61
81
  Capybara.register_driver :sauce do |app|
62
82
  job_name = "Cucumber-Tests - #{Time.now.strftime '%Y-%m-%d %H:%M'}"
63
83
  browser = ENV['SAUCE_BROWSER'] || 'firefox'
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.6
4
+ version: 1.5.7
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-27 00:00:00.000000000 Z
11
+ date: 2014-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -207,8 +207,8 @@ dependencies:
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
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
210
+ Browserstack, Testingbot, poltergeist, cuke_sniffer, rubocop, relish, yard and many
211
+ more awesome libraries
212
212
  email:
213
213
  - shashikant.jagtap@aol.co.uk
214
214
  executables: