sauce 3.3.1 → 3.3.2
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 +8 -8
- data/lib/sauce/capybara.rb +39 -19
- data/lib/sauce/config.rb +19 -11
- data/lib/sauce/rspec.rb +8 -3
- data/lib/sauce/version.rb +1 -1
- data/lib/sauce/webmock.rb +16 -0
- data/lib/tasks/parallel_testing.rb +29 -13
- data/spec/integration/connect/spec/spec_helper.rb +15 -2
- data/spec/integration/connect/spec/with_capybara_spec.rb +10 -0
- data/spec/integration/rspec/spec/spec_helper.rb +9 -0
- data/spec/integration/testunit/test/capybara_integration_test.rb +2 -4
- data/spec/integration/testunit/test/integration_test.rb +1 -4
- data/spec/integration/testunit/test/test_helper.rb +13 -0
- data/spec/sauce/capybara_spec.rb +74 -2
- data/spec/sauce/config/config_spec.rb +1 -1
- data/spec/sauce/config/load_defaults_spec.rb +32 -0
- data/spec/sauce/connect_spec.rb +21 -0
- data/spec/sauce_helper.rb +1 -1
- data/spec/spec_helper.rb +6 -1
- metadata +38 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OTRjZmYwYjIzOWJlNThiNWRhOTQ2ZjE1NmFkMjNhYmI5ZGQxZmE1OQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MjI5MjliMzM0OTI1YjU0ZWY0OGFmYzZlYzBmMTIzZDkwZDE5NTc5ZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzJiM2ExNTAyZGE2YzJmYjIwMzkwYWQxYTdhODljYzE4NDcyOTRlZWRmZGE3
|
10
|
+
ODM4MTJjYTUxMGMyY2RkZjZmYzJkMGZkMjc2ZTU1ODA5NDkyZjY5OWM2MGMz
|
11
|
+
YTJiZmIyNmI5OWI2MWFkNDkyMTZjODVkZTJlMzMzM2U1ZTBmNGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDRjMWQwOThkYjliZWRkZGJiODFiNzhlNTljODgzNzJmYzczY2ZiODMzYzFm
|
14
|
+
MWFlNjJkMmRhMWQ5YzRkODA1MmI5Y2VlM2QxMWRiYzMzYjEwZTQ4MGY1MTVi
|
15
|
+
MTFkNGU1NjJhOTMyMjcwMmEwOTk2Mjg2YmViNWY4NTZkNTUwZDc=
|
data/lib/sauce/capybara.rb
CHANGED
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'capybara'
|
2
|
-
|
3
2
|
require 'sauce/config'
|
4
3
|
require 'sauce/selenium'
|
5
4
|
require 'sauce/version'
|
@@ -78,7 +77,6 @@ module Sauce
|
|
78
77
|
unless existing_browser?
|
79
78
|
@browser = rspec_browser
|
80
79
|
unless @browser
|
81
|
-
|
82
80
|
@browser = Sauce::Selenium2.new
|
83
81
|
at_exit do
|
84
82
|
finish!
|
@@ -114,6 +112,38 @@ module Sauce
|
|
114
112
|
browser.save_screenshot path
|
115
113
|
end
|
116
114
|
end
|
115
|
+
|
116
|
+
def self.configure_capybara
|
117
|
+
::Capybara.configure do |config|
|
118
|
+
config.server_port = Sauce::Config.get_application_port
|
119
|
+
begin
|
120
|
+
#config.always_include_port = true
|
121
|
+
rescue
|
122
|
+
# This option is only in Capybara 2+
|
123
|
+
end
|
124
|
+
end
|
125
|
+
end
|
126
|
+
|
127
|
+
def self.configure_capybara_for_rspec
|
128
|
+
begin
|
129
|
+
require "rspec/core"
|
130
|
+
::RSpec.configure do |config|
|
131
|
+
config.before :suite do
|
132
|
+
::Capybara.configure do |config|
|
133
|
+
sauce_config = Sauce::Config.new
|
134
|
+
if sauce_config[:start_local_application]
|
135
|
+
host = sauce_config[:application_host] || "127.0.0.1"
|
136
|
+
port = sauce_config[:application_port]
|
137
|
+
config.app_host = "http://#{host}:#{port}"
|
138
|
+
config.run_server = false
|
139
|
+
end
|
140
|
+
end
|
141
|
+
end
|
142
|
+
end
|
143
|
+
rescue LoadError => e
|
144
|
+
# User is not using RSpec
|
145
|
+
end
|
146
|
+
end
|
117
147
|
end
|
118
148
|
end
|
119
149
|
|
@@ -121,6 +151,8 @@ Capybara.register_driver :sauce do |app|
|
|
121
151
|
driver = Sauce::Capybara::Driver.new(app)
|
122
152
|
end
|
123
153
|
|
154
|
+
Sauce::Capybara.configure_capybara
|
155
|
+
|
124
156
|
# Monkeypatch Capybara to not use :selenium driver
|
125
157
|
require 'capybara/dsl'
|
126
158
|
module Capybara
|
@@ -129,22 +161,10 @@ module Capybara
|
|
129
161
|
end
|
130
162
|
end
|
131
163
|
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
module SeleniumExampleGroup
|
137
|
-
::RSpec.configuration.before(:suite, :sauce => true) do
|
138
|
-
::Capybara.configure do |config|
|
139
|
-
host = Sauce::Config.new[:application_host] || "127.0.0.1"
|
140
|
-
port = Sauce::Config.new[:application_port]
|
141
|
-
config.app_host = "http://#{host}:#{port}"
|
142
|
-
config.run_server = false
|
143
|
-
end
|
144
|
-
end
|
145
|
-
end
|
164
|
+
module Sauce
|
165
|
+
module RSpec
|
166
|
+
module SeleniumExampleGroup
|
167
|
+
Sauce::Capybara.configure_capybara_for_rspec
|
146
168
|
end
|
147
169
|
end
|
148
|
-
|
149
|
-
# User is not using RSpec
|
150
|
-
end
|
170
|
+
end
|
data/lib/sauce/config.rb
CHANGED
@@ -24,11 +24,10 @@ module Sauce
|
|
24
24
|
:port => 80,
|
25
25
|
:browser_url => "http://saucelabs.com",
|
26
26
|
:job_name => "Unnamed Ruby job",
|
27
|
-
:local_application_port => "3001",
|
28
|
-
:capture_traffic => false,
|
29
27
|
:start_tunnel => true,
|
30
28
|
:start_local_application => true,
|
31
|
-
:warn_on_skipped_integration => true
|
29
|
+
:warn_on_skipped_integration => true,
|
30
|
+
:skip_connection_test => false
|
32
31
|
}
|
33
32
|
|
34
33
|
DEFAULT_BROWSERS = {
|
@@ -83,18 +82,27 @@ module Sauce
|
|
83
82
|
@called_from_integrations = true
|
84
83
|
end
|
85
84
|
|
85
|
+
# Creates a new instance of Sauce::Config
|
86
|
+
#
|
87
|
+
# @param [Hash, Boolean] opts Any value you'd set with [:option], as a hash. If false, skip loading default options
|
88
|
+
# @option opts [Boolean] :without_defaults Set true to skip loading default values
|
89
|
+
#
|
90
|
+
# @return [Sauce::Config]
|
86
91
|
def initialize(opts={})
|
87
92
|
@opts = {}
|
88
93
|
@undefaulted_opts = {}
|
89
94
|
if opts != false
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
95
|
+
if (!opts[:without_defaults])
|
96
|
+
@opts.merge! DEFAULT_OPTIONS
|
97
|
+
@opts.merge! DEFAULT_BROWSERS
|
98
|
+
@opts.merge!({:application_port => Sauce::Config.get_application_port})
|
99
|
+
|
100
|
+
@undefaulted_opts.merge! load_options_from_yaml
|
101
|
+
@undefaulted_opts.merge! load_options_from_environment
|
102
|
+
@undefaulted_opts.merge! load_options_from_heroku unless ENV["SAUCE_DISABLE_HEROKU_CONFIG"]
|
103
|
+
@undefaulted_opts.merge! Sauce.get_config.opts rescue {}
|
104
|
+
end
|
105
|
+
|
98
106
|
@undefaulted_opts.merge! opts
|
99
107
|
@opts.merge! @undefaulted_opts
|
100
108
|
end
|
data/lib/sauce/rspec.rb
CHANGED
@@ -41,9 +41,13 @@ begin
|
|
41
41
|
@selenium = Sauce::Selenium2.new({:os => os, :browser => browser,
|
42
42
|
:browser_version => version,
|
43
43
|
:job_name => description})
|
44
|
-
|
45
|
-
|
46
|
-
|
44
|
+
|
45
|
+
begin
|
46
|
+
success = super(*args)
|
47
|
+
SauceWhisk::Jobs.change_status @selenium.session_id, success
|
48
|
+
ensure
|
49
|
+
@selenium.stop
|
50
|
+
end
|
47
51
|
end
|
48
52
|
end
|
49
53
|
|
@@ -68,6 +72,7 @@ begin
|
|
68
72
|
attr_reader :selenium
|
69
73
|
alias_method :s, :selenium
|
70
74
|
|
75
|
+
# TODO V4 -- Remove this entirely
|
71
76
|
def page
|
72
77
|
warn Sauce::Utilities.page_deprecation_message
|
73
78
|
@selenium
|
data/lib/sauce/version.rb
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'webmock/config'
|
2
|
+
|
3
|
+
config = WebMock::Config.instance
|
4
|
+
|
5
|
+
unless config.allow_net_connect
|
6
|
+
allow_localhost = config.allow_localhost
|
7
|
+
allow = config.allow || []
|
8
|
+
allow << /ondemand.saucelabs.com/
|
9
|
+
connect_on_start = config.net_http_connect_on_start
|
10
|
+
|
11
|
+
WebMock.disable_net_connect!(
|
12
|
+
:allow_localhost => allow_localhost,
|
13
|
+
:allow => allow,
|
14
|
+
:net_http_connect_on_start => connect_on_start
|
15
|
+
)
|
16
|
+
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require "sauce/parallel/test_broker"
|
1
|
+
require "sauce/parallel/test_broker"
|
2
2
|
require "parallel_tests"
|
3
3
|
require "parallel_tests/tasks"
|
4
4
|
require "parallel_tests/cli_patch"
|
@@ -7,7 +7,6 @@ require "parallel_tests/cli_patch"
|
|
7
7
|
namespace :sauce do
|
8
8
|
task :spec, :files, :concurrency, :test_options, :parallel_options do |t, args|
|
9
9
|
::RSpec::Core::Runner.disable_autorun!
|
10
|
-
|
11
10
|
run_parallel_tests(t, args, :rspec)
|
12
11
|
end
|
13
12
|
|
@@ -19,6 +18,7 @@ namespace :sauce do
|
|
19
18
|
task :features do
|
20
19
|
Rake::Task["sauce:install:create_helper"].execute(:helper_type => :features)
|
21
20
|
puts <<-ENDLINE
|
21
|
+
-----------------------------------------------------------------------
|
22
22
|
The Sauce gem is now installed!
|
23
23
|
|
24
24
|
Next steps:
|
@@ -26,7 +26,7 @@ namespace :sauce do
|
|
26
26
|
1. Edit features/support/sauce_helper.rb with your required platforms
|
27
27
|
2. Set the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables
|
28
28
|
3. Run your tests with 'rake sauce:features'
|
29
|
-
|
29
|
+
-----------------------------------------------------------------------
|
30
30
|
ENDLINE
|
31
31
|
end
|
32
32
|
task :spec do
|
@@ -37,9 +37,10 @@ namespace :sauce do
|
|
37
37
|
f.write "require \"sauce_helper\""
|
38
38
|
end
|
39
39
|
else
|
40
|
-
puts "WARNING - The Sauce gem is already integrated into your rspec setup"
|
40
|
+
STDERR.puts "WARNING - The Sauce gem is already integrated into your rspec setup"
|
41
41
|
end
|
42
42
|
puts <<-ENDLINE
|
43
|
+
--------------------------------------------------------------------------------
|
43
44
|
The Sauce gem is now installed!
|
44
45
|
|
45
46
|
Next steps:
|
@@ -48,7 +49,7 @@ namespace :sauce do
|
|
48
49
|
2. Make sure we've not mangled your spec/spec_helper.rb requiring sauce_helper
|
49
50
|
3. Set the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables
|
50
51
|
3. Run your tests with 'rake sauce:spec'
|
51
|
-
|
52
|
+
--------------------------------------------------------------------------------
|
52
53
|
ENDLINE
|
53
54
|
end
|
54
55
|
|
@@ -66,17 +67,32 @@ namespace :sauce do
|
|
66
67
|
end
|
67
68
|
|
68
69
|
def run_parallel_tests(t, args, command)
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
70
|
+
if ParallelTests.number_of_running_processes == 0
|
71
|
+
username = ENV["SAUCE_USERNAME"].to_s
|
72
|
+
access_key = ENV["SAUCE_ACCESS_KEY"].to_s
|
73
|
+
if(!username.empty? && !access_key.empty?)
|
74
|
+
parallel_arguments = parse_task_args(command, args)
|
75
|
+
ParallelTests::CLI.new.run(parallel_arguments)
|
76
|
+
else
|
77
|
+
puts <<-ENDLINE
|
78
|
+
-----------------------------------------------------------------------
|
79
|
+
Your Sauce username and/or access key are unavailable. Please:
|
80
|
+
1. Set the SAUCE_USERNAME and SAUCE_ACCESS_KEY environment variables.
|
81
|
+
2. Rerun your tests.
|
82
|
+
-----------------------------------------------------------------------
|
83
|
+
ENDLINE
|
84
|
+
end
|
74
85
|
else
|
75
86
|
puts <<-ENDLINE
|
76
|
-
|
77
|
-
|
78
|
-
|
87
|
+
---------------------------------------------------------------------------
|
88
|
+
There are already parallel_tests processes running. This can interfere
|
89
|
+
with test startup and shutdown.
|
90
|
+
|
91
|
+
If you're not running other parallel tests, this might be caused by zombie
|
92
|
+
processes (The worst kind of processes). Kill `em off and try again.
|
93
|
+
---------------------------------------------------------------------------
|
79
94
|
ENDLINE
|
95
|
+
exit(1)
|
80
96
|
end
|
81
97
|
end
|
82
98
|
|
@@ -1,6 +1,19 @@
|
|
1
|
+
require "simplecov"
|
2
|
+
|
3
|
+
SimpleCov.start do
|
4
|
+
SimpleCov.root "#{Dir.pwd}/../../../"
|
5
|
+
command_name 'Connect Integration'
|
6
|
+
use_merging true
|
7
|
+
merge_timeout 6000
|
8
|
+
end
|
9
|
+
|
1
10
|
require "sauce"
|
2
|
-
require "
|
11
|
+
require "capybara/rspec"
|
12
|
+
require "sauce/capybara"
|
3
13
|
|
4
14
|
Sauce.config do |c|
|
5
15
|
c[:start_tunnel] = true
|
6
|
-
|
16
|
+
c[:warn_on_skipped_integration] = false
|
17
|
+
end
|
18
|
+
app = proc { |env| [200, {}, ["Hello Sauce!"]]}
|
19
|
+
Capybara.app = app
|
@@ -0,0 +1,13 @@
|
|
1
|
+
require "simplecov"
|
2
|
+
|
3
|
+
SimpleCov.start do
|
4
|
+
SimpleCov.root "#{Dir.pwd}/../../../"
|
5
|
+
command_name 'TestUnit Integration'
|
6
|
+
use_merging true
|
7
|
+
merge_timeout 6000
|
8
|
+
end
|
9
|
+
|
10
|
+
require "rubygems"
|
11
|
+
require "bundler/setup"
|
12
|
+
require "test/unit"
|
13
|
+
require "sauce"
|
data/spec/sauce/capybara_spec.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
require 'sauce/capybara'
|
3
3
|
require 'sauce/connect'
|
4
|
+
#require 'capybara/server'
|
4
5
|
|
5
6
|
describe Sauce::Capybara do
|
6
7
|
|
@@ -10,9 +11,17 @@ describe Sauce::Capybara do
|
|
10
11
|
|
11
12
|
describe Sauce::Capybara::Driver do
|
12
13
|
|
13
|
-
|
14
|
+
before :each do
|
15
|
+
::Capybara::Server.any_instance.stub(:boot).and_return(true)
|
16
|
+
end
|
17
|
+
|
18
|
+
let(:app) { proc { |env| [200, {}, ["Hello Sauce!"]]} }
|
14
19
|
let(:driver) { Sauce::Capybara::Driver.new(app) }
|
15
20
|
|
21
|
+
after :each do
|
22
|
+
Capybara.reset_sessions!
|
23
|
+
end
|
24
|
+
|
16
25
|
describe "#body" do
|
17
26
|
context "With Capybara 1.x", :capybara_version => [1, "1.9.9"] do
|
18
27
|
it "should not exist in version 2" do
|
@@ -293,4 +302,67 @@ describe Sauce::Capybara do
|
|
293
302
|
|
294
303
|
describe '#install_hooks' do
|
295
304
|
end
|
296
|
-
|
305
|
+
|
306
|
+
describe 'used without rspec hooks' do
|
307
|
+
include Capybara::DSL
|
308
|
+
|
309
|
+
before :all do
|
310
|
+
app = proc { |env| [200, {}, ["Hello Sauce!"]]}
|
311
|
+
Capybara.app = app
|
312
|
+
Sauce.driver_pool[Thread.current.object_id] = nil
|
313
|
+
end
|
314
|
+
|
315
|
+
it "should use one of the Sauce Connect ports", :capybara_version => [2, "2.9.9"], :js => true do
|
316
|
+
reset_capybara(2.0)
|
317
|
+
used_port = Capybara.current_session.server.port
|
318
|
+
Sauce::Config::POTENTIAL_PORTS.should include used_port
|
319
|
+
end
|
320
|
+
|
321
|
+
it "should use one of the Sauce Connect ports", :capybara_version => ["1.0.9", "1.9.9"], :js => true do
|
322
|
+
reset_capybara(1.1)
|
323
|
+
used_port = Capybara.current_session.driver.rack_server.port
|
324
|
+
Sauce::Config::POTENTIAL_PORTS.should include used_port
|
325
|
+
end
|
326
|
+
|
327
|
+
it "should use one of the Sauce Connect ports", :capybara_version => ["1.0.0", "1.0.9"], :js => true do
|
328
|
+
reset_capybara(1.0)
|
329
|
+
used_port = Capybara.current_session.driver.rack_server.port
|
330
|
+
Sauce::Config::POTENTIAL_PORTS.should include used_port
|
331
|
+
end
|
332
|
+
end
|
333
|
+
|
334
|
+
def reset_capybara(capy_version)
|
335
|
+
Capybara.reset_sessions!
|
336
|
+
|
337
|
+
Capybara.configure do |config|
|
338
|
+
case capy_version
|
339
|
+
when 1.0
|
340
|
+
config.server_boot_timeout = 10
|
341
|
+
config.prefer_visible_elements = true
|
342
|
+
config.ignore_hidden_elements = false
|
343
|
+
when 1.1
|
344
|
+
config.server_boot_timeout = 10
|
345
|
+
config.prefer_visible_elements = true
|
346
|
+
config.automatic_reload = true
|
347
|
+
config.ignore_hidden_elements = false
|
348
|
+
when 2.0
|
349
|
+
config.always_include_port = false
|
350
|
+
config.match = :smart
|
351
|
+
config.exact = false
|
352
|
+
config.raise_server_errors = true
|
353
|
+
config.visible_text_only = false
|
354
|
+
config.automatic_reload = true
|
355
|
+
config.ignore_hidden_elements = true
|
356
|
+
end
|
357
|
+
|
358
|
+
config.run_server = true
|
359
|
+
config.server {|app, port| Capybara.run_default_server(app, port)}
|
360
|
+
config.default_selector = :css
|
361
|
+
config.default_wait_time = 2
|
362
|
+
config.default_host = "http://www.example.com"
|
363
|
+
|
364
|
+
Sauce::Capybara.configure_capybara
|
365
|
+
Capybara.default_driver = :sauce
|
366
|
+
end
|
367
|
+
end
|
368
|
+
end
|
@@ -15,4 +15,36 @@ describe "Sauce" do
|
|
15
15
|
Sauce.get_config(:default).opts.length.should_not eq 0
|
16
16
|
end
|
17
17
|
end
|
18
|
+
|
19
|
+
describe "::Config" do
|
20
|
+
describe "#new" do
|
21
|
+
before :each do
|
22
|
+
Sauce.clear_config
|
23
|
+
end
|
24
|
+
|
25
|
+
context "passed a hash and :without_defaults => false" do
|
26
|
+
let(:c) { Sauce::Config.new(:myoption => 1337, :without_defaults => false) }
|
27
|
+
|
28
|
+
it "uses options from the hash" do
|
29
|
+
c[:myoption].should == 1337
|
30
|
+
end
|
31
|
+
|
32
|
+
it "defaults other options" do
|
33
|
+
c[:host].should equal Sauce::Config::DEFAULT_OPTIONS[:host]
|
34
|
+
end
|
35
|
+
end
|
36
|
+
|
37
|
+
context "passed a hash and :without_defaults => true" do
|
38
|
+
let(:c) { Sauce::Config.new(:myoption => 1337, :without_defaults => true) }
|
39
|
+
|
40
|
+
it "uses options from the hash" do
|
41
|
+
c[:myoption].should == 1337
|
42
|
+
end
|
43
|
+
|
44
|
+
it "does not default other options" do
|
45
|
+
c[:host].should be_nil
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
18
50
|
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
require "spec_helper"
|
2
|
+
|
3
|
+
describe "Sauce::Connect" do
|
4
|
+
describe "#connect" do
|
5
|
+
context "skip_connection_test is false" do
|
6
|
+
|
7
|
+
before do
|
8
|
+
Sauce.clear_config
|
9
|
+
end
|
10
|
+
|
11
|
+
it "ensures it can gain access to Sauce Connect's servers" do
|
12
|
+
end
|
13
|
+
end
|
14
|
+
|
15
|
+
context "skip_connection_test is true" do
|
16
|
+
it "does not try to connect to Sauce Connect's servers" do
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
data/spec/sauce_helper.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sauce
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.3.
|
4
|
+
version: 3.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Lacey
|
@@ -14,7 +14,7 @@ authors:
|
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
|
-
date: 2014-02-
|
17
|
+
date: 2014-02-20 00:00:00.000000000 Z
|
18
18
|
dependencies:
|
19
19
|
- !ruby/object:Gem::Dependency
|
20
20
|
name: rspec
|
@@ -58,6 +58,34 @@ dependencies:
|
|
58
58
|
- - ! '>='
|
59
59
|
- !ruby/object:Gem::Version
|
60
60
|
version: 2.2.1
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: yard
|
63
|
+
requirement: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ! '>='
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
type: :development
|
69
|
+
prerelease: false
|
70
|
+
version_requirements: !ruby/object:Gem::Requirement
|
71
|
+
requirements:
|
72
|
+
- - ! '>='
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: '0'
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: redcarpet
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - ! '>='
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0'
|
82
|
+
type: :development
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
61
89
|
- !ruby/object:Gem::Dependency
|
62
90
|
name: net-http-persistent
|
63
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -245,10 +273,12 @@ files:
|
|
245
273
|
- lib/sauce/utilities/rails_server.rb
|
246
274
|
- lib/sauce/utilities/rake.rb
|
247
275
|
- lib/sauce/version.rb
|
276
|
+
- lib/sauce/webmock.rb
|
248
277
|
- lib/tasks/parallel_testing.rb
|
249
278
|
- spec/cucumber_helper.rb
|
250
279
|
- spec/integration/connect/spec/spec_helper.rb
|
251
280
|
- spec/integration/connect/spec/start_tunnel_spec.rb
|
281
|
+
- spec/integration/connect/spec/with_capybara_spec.rb
|
252
282
|
- spec/integration/connect_integration_spec.rb
|
253
283
|
- spec/integration/rspec/spec/integration_spec.rb
|
254
284
|
- spec/integration/rspec/spec/selenium/selenium_directory_spec.rb
|
@@ -257,6 +287,7 @@ files:
|
|
257
287
|
- spec/integration/rspec/spec/tagging/selenium_tagging_spec.rb
|
258
288
|
- spec/integration/testunit/test/capybara_integration_test.rb
|
259
289
|
- spec/integration/testunit/test/integration_test.rb
|
290
|
+
- spec/integration/testunit/test/test_helper.rb
|
260
291
|
- spec/parallel_tests/sauce_rspec_runner_spec.rb
|
261
292
|
- spec/sauce/capybara_spec.rb
|
262
293
|
- spec/sauce/config/browser_spec.rb
|
@@ -265,6 +296,7 @@ files:
|
|
265
296
|
- spec/sauce/config/environment_config_spec.rb
|
266
297
|
- spec/sauce/config/load_defaults_spec.rb
|
267
298
|
- spec/sauce/config/perfile_browser_spec.rb
|
299
|
+
- spec/sauce/connect_spec.rb
|
268
300
|
- spec/sauce/cucumber_spec.rb
|
269
301
|
- spec/sauce/driver_pool_spec.rb
|
270
302
|
- spec/sauce/file_detector_spec.rb
|
@@ -305,6 +337,7 @@ test_files:
|
|
305
337
|
- spec/cucumber_helper.rb
|
306
338
|
- spec/integration/connect/spec/spec_helper.rb
|
307
339
|
- spec/integration/connect/spec/start_tunnel_spec.rb
|
340
|
+
- spec/integration/connect/spec/with_capybara_spec.rb
|
308
341
|
- spec/integration/connect_integration_spec.rb
|
309
342
|
- spec/integration/rspec/spec/integration_spec.rb
|
310
343
|
- spec/integration/rspec/spec/selenium/selenium_directory_spec.rb
|
@@ -313,6 +346,7 @@ test_files:
|
|
313
346
|
- spec/integration/rspec/spec/tagging/selenium_tagging_spec.rb
|
314
347
|
- spec/integration/testunit/test/capybara_integration_test.rb
|
315
348
|
- spec/integration/testunit/test/integration_test.rb
|
349
|
+
- spec/integration/testunit/test/test_helper.rb
|
316
350
|
- spec/parallel_tests/sauce_rspec_runner_spec.rb
|
317
351
|
- spec/sauce/capybara_spec.rb
|
318
352
|
- spec/sauce/config/browser_spec.rb
|
@@ -321,6 +355,7 @@ test_files:
|
|
321
355
|
- spec/sauce/config/environment_config_spec.rb
|
322
356
|
- spec/sauce/config/load_defaults_spec.rb
|
323
357
|
- spec/sauce/config/perfile_browser_spec.rb
|
358
|
+
- spec/sauce/connect_spec.rb
|
324
359
|
- spec/sauce/cucumber_spec.rb
|
325
360
|
- spec/sauce/driver_pool_spec.rb
|
326
361
|
- spec/sauce/file_detector_spec.rb
|
@@ -333,3 +368,4 @@ test_files:
|
|
333
368
|
- spec/sauce/utilities/utilities_spec.rb
|
334
369
|
- spec/sauce_helper.rb
|
335
370
|
- spec/spec_helper.rb
|
371
|
+
has_rdoc:
|