watirsplash 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.rdoc +5 -0
- data/README.rdoc +22 -4
- data/Rakefile +2 -8
- data/VERSION +1 -1
- data/environment.rb +2 -0
- data/lib/watirsplash/browser.rb +8 -0
- data/lib/watirsplash/cli.rb +12 -5
- data/lib/watirsplash/frameworks/firewatir.rb +15 -0
- data/lib/watirsplash/frameworks/helper.rb +29 -0
- data/lib/watirsplash/frameworks/watir-webdriver/chrome.rb +9 -0
- data/lib/watirsplash/frameworks/watir-webdriver/firefox.rb +9 -0
- data/lib/watirsplash/frameworks/watir-webdriver/ie.rb +10 -0
- data/lib/watirsplash/frameworks/watir-webdriver.rb +10 -0
- data/lib/watirsplash/{watir_patches.rb → frameworks/watir.rb} +21 -3
- data/lib/watirsplash/generators/new_common_project.rb +1 -0
- data/lib/watirsplash/generators/new_project.rb +1 -0
- data/lib/watirsplash/generators/templates/new_common_project/config.rb.tt +8 -0
- data/lib/watirsplash/generators/templates/new_project/config.rb.tt +12 -0
- data/lib/watirsplash/html_formatter.rb +2 -9
- data/lib/watirsplash/rspec_patches.rb +1 -1
- data/lib/watirsplash/spec_helper.rb +13 -7
- data/lib/watirsplash/util.rb +27 -1
- data/lib/watirsplash.rb +3 -3
- data/spec/watir_ie_spec.rb +3 -3
- metadata +29 -84
data/History.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -80,16 +80,34 @@ testing right away!
|
|
80
80
|
|
81
81
|
== INSTALL
|
82
82
|
|
83
|
-
1) install Ruby
|
84
|
-
http://rubyinstaller.org/
|
83
|
+
1) install Ruby
|
85
84
|
|
86
85
|
2) install WatirSplash:
|
87
86
|
gem install watirsplash
|
88
87
|
|
89
|
-
3) in your project's directory:
|
88
|
+
3) execute in your project's directory:
|
90
89
|
watirsplash new
|
91
90
|
|
92
|
-
==
|
91
|
+
== SUPPORTED PLATFORMS & BROWSERS
|
92
|
+
|
93
|
+
WatirSplash supports different frameworks/browsers on different operating systems:
|
94
|
+
* Linux & OS X - firewatir, watir-webdriver/chrome and watir-webdriver/firefox
|
95
|
+
* Windows - firewatir, watir, watir-webdriver/chrome, watir-webdriver/ie, watir-webdriver/firefox
|
96
|
+
|
97
|
+
Each framework drives a specific browser:
|
98
|
+
* FireWatir - Firefox
|
99
|
+
* Watir - IE
|
100
|
+
* Watir-WebDriver - Chrome, IE and Firefox
|
101
|
+
|
102
|
+
It is possible to specify what framework to use in ui-test/config.rb and/or in ui-test-common/config.rb files:
|
103
|
+
WatirSplash::Util.framework = "watir-webdriver/firefox"
|
104
|
+
|
105
|
+
If framework is not specified manually then a default framework will be used for the current platform.
|
106
|
+
|
107
|
+
PS! Please note that all frameworks are not 100% compatible with each other. If you find any concrete incompatibilities then
|
108
|
+
it would be great if you'd contribute fixes or information to the authors of the frameworks.
|
109
|
+
|
110
|
+
== WHAT'S NEXT?
|
93
111
|
|
94
112
|
You can read more information about the usage and features from the wiki at http://github.com/jarmo/WatirSplash/wiki
|
95
113
|
|
data/Rakefile
CHANGED
@@ -24,21 +24,15 @@ begin
|
|
24
24
|
|
25
25
|
Thank you for installing WatirSplash #{version}! Don't forget to take a look at the README and History files!
|
26
26
|
|
27
|
-
Execute `watirsplash new` under your project's directory to generate default project structure.
|
28
|
-
|
29
|
-
PS! If you are using older WatirSplash version <= 0.2.14, then execute `watirsplash migrate` under ui-test and ui-test-common!
|
27
|
+
Execute `watirsplash new` under your project's directory to generate a default project structure.
|
30
28
|
|
31
29
|
#{"*"*25}}
|
32
30
|
|
33
|
-
gem.add_dependency("
|
34
|
-
gem.add_dependency("rspec", "~>2.4")
|
31
|
+
gem.add_dependency("rspec", "~>2.5")
|
35
32
|
gem.add_dependency("require_all")
|
36
|
-
gem.add_dependency("syntax")
|
37
33
|
gem.add_dependency("thor", "~>0")
|
38
|
-
gem.add_dependency("rautomation", "~>0.4")
|
39
34
|
gem.add_dependency("require_all")
|
40
35
|
gem.add_dependency("syntax")
|
41
|
-
gem.add_dependency("win32screenshot", "~>1.0.2")
|
42
36
|
end
|
43
37
|
Jeweler::GemcutterTasks.new
|
44
38
|
rescue LoadError
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.1.0
|
data/environment.rb
ADDED
data/lib/watirsplash/cli.rb
CHANGED
@@ -3,24 +3,31 @@ require "thor/group"
|
|
3
3
|
require "watirsplash/generators/new_project"
|
4
4
|
require "watirsplash/generators/new_common_project"
|
5
5
|
require "watirsplash/generators/migrate_project"
|
6
|
+
require "watirsplash/util"
|
6
7
|
|
7
8
|
module WatirSplash
|
8
9
|
class CLI < Thor
|
10
|
+
framework_option = proc do
|
11
|
+
method_option :framework, :default => WatirSplash::Util.send(:default_framework).to_s, :aliases => "-f",
|
12
|
+
:desc => "Framework to use. Possible values are watir, firewatir, watir-webdriver/ie, watir-webdriver/firefox, watir-webdriver/chrome."
|
13
|
+
end
|
9
14
|
|
10
|
-
desc "new [APPLICATION_NAME]", "
|
15
|
+
desc "new [APPLICATION_NAME]", "Create a new WatirSplash project."
|
11
16
|
method_option :load_common, :type => :boolean, :default => false, :aliases => "-l",
|
12
17
|
:desc => "Load WatirSplash common project automatically."
|
13
18
|
method_option :url, :default => "about:blank", :aliases => "-u",
|
14
19
|
:desc => "URL to open in the browser before each test. May be relative if WatirSplash common project is loaded."
|
20
|
+
framework_option.call
|
15
21
|
def new(name = "Application")
|
16
|
-
WatirSplash::Generators::NewProject.start([Thor::Util.camel_case(name), options[:url], options.load_common?])
|
22
|
+
WatirSplash::Generators::NewProject.start([Thor::Util.camel_case(name), options[:url], options[:framework], options.load_common?])
|
17
23
|
end
|
18
24
|
|
19
25
|
desc "new_common", "Create a new WatirSplash common project."
|
20
|
-
method_option :url, :default => "http://localhost",
|
21
|
-
:desc => "
|
26
|
+
method_option :url, :default => "http://localhost", :aliases => "-u",
|
27
|
+
:desc => "URL for the application main page."
|
28
|
+
framework_option.call
|
22
29
|
def new_common
|
23
|
-
WatirSplash::Generators::NewCommonProject.start([options[:url]])
|
30
|
+
WatirSplash::Generators::NewCommonProject.start([options[:url], options[:framework]])
|
24
31
|
end
|
25
32
|
|
26
33
|
if File.basename(Dir.pwd) =~ /^ui-test(-common)?$/
|
@@ -0,0 +1,15 @@
|
|
1
|
+
WatirSplash::Frameworks::Helper.load_gem :gem => "firewatir", :version => "1.7.1"
|
2
|
+
|
3
|
+
module FireWatir #:nodoc:all
|
4
|
+
class Firefox
|
5
|
+
def exists?
|
6
|
+
js_eval("getWindows().length").to_i == 1 || find_window(:url, @window_url) > 0
|
7
|
+
end
|
8
|
+
|
9
|
+
alias_method :exist?, :exists?
|
10
|
+
|
11
|
+
def save_screenshot(params)
|
12
|
+
# currently not yet supported
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,29 @@
|
|
1
|
+
module WatirSplash
|
2
|
+
module Frameworks
|
3
|
+
class Helper
|
4
|
+
class << self
|
5
|
+
def load_gems *gems
|
6
|
+
failed_gems = []
|
7
|
+
gems.each do |gem_params|
|
8
|
+
begin
|
9
|
+
gem gem_params[:gem], gem_params[:version]
|
10
|
+
require gem_params[:require] || gem_params[:gem]
|
11
|
+
rescue Gem::LoadError
|
12
|
+
failed_gems << gem_params
|
13
|
+
end
|
14
|
+
end
|
15
|
+
unless failed_gems.empty?
|
16
|
+
puts "\nSome dependencies are missing. Install them with:"
|
17
|
+
failed_gems.each do |failed_gem|
|
18
|
+
puts " gem install #{failed_gem[:gem]}#{failed_gem[:version] ? " -v #{failed_gem[:version].gsub(/^[~>=]*\s*/, "")}" : ""}"
|
19
|
+
end
|
20
|
+
puts
|
21
|
+
exit 1 unless failed_gems.empty?
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
alias_method :load_gem, :load_gems
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
@@ -1,3 +1,7 @@
|
|
1
|
+
WatirSplash::Frameworks::Helper.load_gems({:gem => "watir", :version => "1.7.1"},
|
2
|
+
{:gem => "win32screenshot", :require => "win32/screenshot", :version => ">=1.0.2"})
|
3
|
+
require "watir/ie"
|
4
|
+
|
1
5
|
module Watir
|
2
6
|
module PageCheckers
|
3
7
|
# raises an error if javascript error was found
|
@@ -8,10 +12,24 @@ end
|
|
8
12
|
# patches for Watir
|
9
13
|
module Watir
|
10
14
|
class IE #:nodoc:all
|
11
|
-
|
15
|
+
alias_method :_initialize, :initialize
|
16
|
+
|
17
|
+
def initialize suppress_new_window=nil
|
18
|
+
_initialize suppress_new_window
|
19
|
+
self.speed = :fast
|
20
|
+
add_checker Watir::PageCheckers::JAVASCRIPT_ERRORS_CHECKER
|
21
|
+
maximize
|
22
|
+
end
|
23
|
+
|
24
|
+
def save_screenshot(params)
|
25
|
+
params[:hwnd] ||= hwnd
|
26
|
+
::Win32::Screenshot::Take.of(:window, :hwnd => params[:hwnd]).write(params[:file_name])
|
27
|
+
rescue => e
|
28
|
+
$stderr.puts "saving of screenshot failed: #{e.message}"
|
29
|
+
end
|
12
30
|
end
|
13
31
|
|
14
|
-
class Element
|
32
|
+
class Element
|
15
33
|
# saves a file with the browser
|
16
34
|
#
|
17
35
|
# clicking the button opens a browser's save as dialog and saves the file document.pdf
|
@@ -45,4 +63,4 @@ module Watir
|
|
45
63
|
end
|
46
64
|
end
|
47
65
|
|
48
|
-
end
|
66
|
+
end
|
@@ -1,3 +1,11 @@
|
|
1
|
+
# What framework to use? Possible values are:
|
2
|
+
# * watir
|
3
|
+
# * firewatir
|
4
|
+
# * watir-webdriver/ie
|
5
|
+
# * watir-webdriver/firefox
|
6
|
+
# * watir-webdriver/chrome
|
7
|
+
<%= "WatirSplash::Util.framework = \"#{framework}\"" %>
|
8
|
+
|
1
9
|
=begin
|
2
10
|
Global configuration constants
|
3
11
|
For example, you can use the URL constant below from your projects' config.rb like this:
|
@@ -1,3 +1,15 @@
|
|
1
|
+
# What framework to use? Possible values are:
|
2
|
+
# * watir
|
3
|
+
# * firewatir
|
4
|
+
# * watir-webdriver/ie
|
5
|
+
# * watir-webdriver/firefox
|
6
|
+
# * watir-webdriver/chrome
|
7
|
+
<%=
|
8
|
+
load_cmd = ""
|
9
|
+
load_cmd += "# " if load_common
|
10
|
+
load_cmd += "WatirSplash::Util.framework = \"#{framework}\""
|
11
|
+
%>
|
12
|
+
|
1
13
|
# Config for your application
|
2
14
|
module Config
|
3
15
|
module <%= name %>
|
@@ -1,5 +1,4 @@
|
|
1
1
|
require 'rspec/core/formatters/html_formatter'
|
2
|
-
require 'win32/screenshot'
|
3
2
|
require 'pathname'
|
4
3
|
require 'fileutils'
|
5
4
|
|
@@ -39,7 +38,7 @@ module WatirSplash
|
|
39
38
|
end
|
40
39
|
|
41
40
|
def extra_failure_content(exception) # :nodoc:
|
42
|
-
if @browser.exists?
|
41
|
+
if @browser && @browser.exists?
|
43
42
|
save_screenshot
|
44
43
|
save_html
|
45
44
|
end
|
@@ -72,13 +71,7 @@ module WatirSplash
|
|
72
71
|
|
73
72
|
def save_screenshot(description="Screenshot", hwnd=nil) # :nodoc:
|
74
73
|
file_name = file_path("screenshot.png", description)
|
75
|
-
|
76
|
-
@browser.bring_to_front
|
77
|
-
begin
|
78
|
-
Win32::Screenshot::Take.of(:window, :hwnd => hwnd).write(file_name)
|
79
|
-
rescue => e
|
80
|
-
$stderr.puts "saving of screenshot failed: #{e.message}"
|
81
|
-
end
|
74
|
+
@browser.save_screenshot(:file_name => file_name, :hwnd => hwnd)
|
82
75
|
file_name
|
83
76
|
end
|
84
77
|
|
@@ -6,16 +6,22 @@ module WatirSplash
|
|
6
6
|
|
7
7
|
# opens the browser at specified url
|
8
8
|
def open_browser_at url
|
9
|
-
@browser =
|
10
|
-
@browser.speed = :fast
|
11
|
-
add_checker Watir::PageCheckers::JAVASCRIPT_ERRORS_CHECKER
|
9
|
+
@browser = WatirSplash::Browser.new
|
12
10
|
Util.formatter.browser = @browser
|
13
11
|
goto url
|
14
|
-
maximize
|
15
12
|
end
|
16
|
-
|
13
|
+
|
17
14
|
def method_missing name, *args #:nodoc:
|
18
|
-
@browser.respond_to?(name)
|
15
|
+
if @browser.respond_to?(name)
|
16
|
+
SpecHelper.module_eval %Q[
|
17
|
+
def #{name}(*args)
|
18
|
+
@browser.send(:#{name}, *args) {yield}
|
19
|
+
end
|
20
|
+
]
|
21
|
+
@browser.send(name, *args) {yield}
|
22
|
+
else
|
23
|
+
super
|
24
|
+
end
|
19
25
|
end
|
20
26
|
|
21
27
|
# make sure that using method 'p' will be invoked on @browser
|
@@ -26,4 +32,4 @@ module WatirSplash
|
|
26
32
|
end
|
27
33
|
|
28
34
|
end
|
29
|
-
end
|
35
|
+
end
|
data/lib/watirsplash/util.rb
CHANGED
@@ -35,8 +35,34 @@ module WatirSplash
|
|
35
35
|
@@html_formatter
|
36
36
|
end
|
37
37
|
|
38
|
+
@@framework = nil
|
39
|
+
|
40
|
+
def framework= framework
|
41
|
+
@@framework = framework.to_sym
|
42
|
+
end
|
43
|
+
|
44
|
+
def framework
|
45
|
+
@@framework
|
46
|
+
end
|
47
|
+
|
48
|
+
def load_framework
|
49
|
+
self.framework = ENV["WATIRSPLASH_FRAMEWORK"] || framework || default_framework
|
50
|
+
require "watirsplash/frameworks/#{framework}"
|
51
|
+
end
|
52
|
+
|
38
53
|
private
|
39
54
|
|
55
|
+
def default_framework
|
56
|
+
case RUBY_PLATFORM
|
57
|
+
when /mswin|msys|mingw32/
|
58
|
+
:watir
|
59
|
+
when /darwin|linux/
|
60
|
+
:firewatir
|
61
|
+
else
|
62
|
+
raise "Unsupported platform: #{RUBY_PLATFORM}"
|
63
|
+
end
|
64
|
+
end
|
65
|
+
|
40
66
|
def common_dir
|
41
67
|
ui_test_common_dir = "ui-test-common"
|
42
68
|
Pathname(Dir.pwd).ascend do |path|
|
@@ -54,4 +80,4 @@ module WatirSplash
|
|
54
80
|
|
55
81
|
end
|
56
82
|
end
|
57
|
-
end
|
83
|
+
end
|
data/lib/watirsplash.rb
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
require "rubygems"
|
2
2
|
require "require_all"
|
3
|
-
require "rautomation"
|
4
3
|
require "rspec"
|
5
|
-
require "watir"
|
6
4
|
require "pathname"
|
5
|
+
require_rel "watirsplash/browser"
|
7
6
|
require_rel "watirsplash/file_helper"
|
8
7
|
require_rel "watirsplash/spec_helper"
|
9
8
|
require_rel "watirsplash/rspec_patches"
|
10
|
-
require_rel "watirsplash/watir_patches"
|
11
9
|
require_rel "watirsplash/util"
|
12
10
|
require_rel "watirsplash/html_formatter"
|
11
|
+
require_rel "watirsplash/frameworks/helper"
|
13
12
|
WatirSplash::Util.configure_rspec_formatters
|
14
13
|
WatirSplash::Util.load_environment
|
14
|
+
WatirSplash::Util.load_framework
|
15
15
|
|
data/spec/watir_ie_spec.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
describe Watir::IE do
|
1
|
+
describe "Watir::IE", :if => WatirSplash::Util.framework == :watir do
|
2
2
|
|
3
3
|
before :each do
|
4
4
|
goto "http://dl.dropbox.com/u/2731643/WatirSplash/test.html"
|
5
5
|
end
|
6
6
|
|
7
|
-
context Watir::Element do
|
7
|
+
context "Watir::Element" do
|
8
8
|
context "#save_as" do
|
9
9
|
it "saves file with the browser" do
|
10
10
|
begin
|
@@ -21,7 +21,7 @@ describe Watir::IE do
|
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
24
|
-
context Watir::FileField do
|
24
|
+
context "Watir::FileField" do
|
25
25
|
context "#set" do
|
26
26
|
it "sets the file to upload with the browser" do
|
27
27
|
field = file_field(:id => "upload")
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: watirsplash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
|
+
- 1
|
8
9
|
- 0
|
9
|
-
|
10
|
-
version: 1.0.0
|
10
|
+
version: 1.1.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jarmo Pertman
|
@@ -15,58 +15,28 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-02-17 00:00:00 +02:00
|
19
19
|
default_executable: watirsplash
|
20
20
|
dependencies:
|
21
|
-
- !ruby/object:Gem::Dependency
|
22
|
-
name: watir
|
23
|
-
prerelease: false
|
24
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - "="
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
hash: 9
|
30
|
-
segments:
|
31
|
-
- 1
|
32
|
-
- 7
|
33
|
-
- 1
|
34
|
-
version: 1.7.1
|
35
|
-
type: :runtime
|
36
|
-
version_requirements: *id001
|
37
21
|
- !ruby/object:Gem::Dependency
|
38
22
|
name: rspec
|
39
23
|
prerelease: false
|
40
|
-
requirement: &
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
41
25
|
none: false
|
42
26
|
requirements:
|
43
27
|
- - ~>
|
44
28
|
- !ruby/object:Gem::Version
|
45
|
-
hash:
|
29
|
+
hash: 9
|
46
30
|
segments:
|
47
31
|
- 2
|
48
|
-
-
|
49
|
-
version: "2.
|
32
|
+
- 5
|
33
|
+
version: "2.5"
|
50
34
|
type: :runtime
|
51
|
-
version_requirements: *
|
35
|
+
version_requirements: *id001
|
52
36
|
- !ruby/object:Gem::Dependency
|
53
37
|
name: require_all
|
54
38
|
prerelease: false
|
55
|
-
requirement: &
|
56
|
-
none: false
|
57
|
-
requirements:
|
58
|
-
- - ">="
|
59
|
-
- !ruby/object:Gem::Version
|
60
|
-
hash: 3
|
61
|
-
segments:
|
62
|
-
- 0
|
63
|
-
version: "0"
|
64
|
-
type: :runtime
|
65
|
-
version_requirements: *id003
|
66
|
-
- !ruby/object:Gem::Dependency
|
67
|
-
name: syntax
|
68
|
-
prerelease: false
|
69
|
-
requirement: &id004 !ruby/object:Gem::Requirement
|
39
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
70
40
|
none: false
|
71
41
|
requirements:
|
72
42
|
- - ">="
|
@@ -76,11 +46,11 @@ dependencies:
|
|
76
46
|
- 0
|
77
47
|
version: "0"
|
78
48
|
type: :runtime
|
79
|
-
version_requirements: *
|
49
|
+
version_requirements: *id002
|
80
50
|
- !ruby/object:Gem::Dependency
|
81
51
|
name: thor
|
82
52
|
prerelease: false
|
83
|
-
requirement: &
|
53
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
84
54
|
none: false
|
85
55
|
requirements:
|
86
56
|
- - ~>
|
@@ -90,26 +60,11 @@ dependencies:
|
|
90
60
|
- 0
|
91
61
|
version: "0"
|
92
62
|
type: :runtime
|
93
|
-
version_requirements: *
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: rautomation
|
96
|
-
prerelease: false
|
97
|
-
requirement: &id006 !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
|
-
requirements:
|
100
|
-
- - ~>
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
hash: 3
|
103
|
-
segments:
|
104
|
-
- 0
|
105
|
-
- 4
|
106
|
-
version: "0.4"
|
107
|
-
type: :runtime
|
108
|
-
version_requirements: *id006
|
63
|
+
version_requirements: *id003
|
109
64
|
- !ruby/object:Gem::Dependency
|
110
65
|
name: require_all
|
111
66
|
prerelease: false
|
112
|
-
requirement: &
|
67
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
113
68
|
none: false
|
114
69
|
requirements:
|
115
70
|
- - ">="
|
@@ -119,11 +74,11 @@ dependencies:
|
|
119
74
|
- 0
|
120
75
|
version: "0"
|
121
76
|
type: :runtime
|
122
|
-
version_requirements: *
|
77
|
+
version_requirements: *id004
|
123
78
|
- !ruby/object:Gem::Dependency
|
124
79
|
name: syntax
|
125
80
|
prerelease: false
|
126
|
-
requirement: &
|
81
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
127
82
|
none: false
|
128
83
|
requirements:
|
129
84
|
- - ">="
|
@@ -133,23 +88,7 @@ dependencies:
|
|
133
88
|
- 0
|
134
89
|
version: "0"
|
135
90
|
type: :runtime
|
136
|
-
version_requirements: *
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: win32screenshot
|
139
|
-
prerelease: false
|
140
|
-
requirement: &id009 !ruby/object:Gem::Requirement
|
141
|
-
none: false
|
142
|
-
requirements:
|
143
|
-
- - ~>
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
hash: 19
|
146
|
-
segments:
|
147
|
-
- 1
|
148
|
-
- 0
|
149
|
-
- 2
|
150
|
-
version: 1.0.2
|
151
|
-
type: :runtime
|
152
|
-
version_requirements: *id009
|
91
|
+
version_requirements: *id005
|
153
92
|
description: WatirSplash makes testing of web applications splashin' easy by combining best features of Watir, RSpec and Ruby!
|
154
93
|
email: jarmo.p@gmail.com
|
155
94
|
executables:
|
@@ -167,9 +106,18 @@ files:
|
|
167
106
|
- Rakefile
|
168
107
|
- VERSION
|
169
108
|
- bin/watirsplash
|
109
|
+
- environment.rb
|
170
110
|
- lib/watirsplash.rb
|
111
|
+
- lib/watirsplash/browser.rb
|
171
112
|
- lib/watirsplash/cli.rb
|
172
113
|
- lib/watirsplash/file_helper.rb
|
114
|
+
- lib/watirsplash/frameworks/firewatir.rb
|
115
|
+
- lib/watirsplash/frameworks/helper.rb
|
116
|
+
- lib/watirsplash/frameworks/watir-webdriver.rb
|
117
|
+
- lib/watirsplash/frameworks/watir-webdriver/chrome.rb
|
118
|
+
- lib/watirsplash/frameworks/watir-webdriver/firefox.rb
|
119
|
+
- lib/watirsplash/frameworks/watir-webdriver/ie.rb
|
120
|
+
- lib/watirsplash/frameworks/watir.rb
|
173
121
|
- lib/watirsplash/generators/migrate_project.rb
|
174
122
|
- lib/watirsplash/generators/new_common_project.rb
|
175
123
|
- lib/watirsplash/generators/new_project.rb
|
@@ -185,7 +133,6 @@ files:
|
|
185
133
|
- lib/watirsplash/rspec_patches.rb
|
186
134
|
- lib/watirsplash/spec_helper.rb
|
187
135
|
- lib/watirsplash/util.rb
|
188
|
-
- lib/watirsplash/watir_patches.rb
|
189
136
|
- spec/file_helper_spec.rb
|
190
137
|
- spec/spec_helper_spec.rb
|
191
138
|
- spec/spec_match_array_spec.rb
|
@@ -198,11 +145,9 @@ licenses: []
|
|
198
145
|
post_install_message: |-
|
199
146
|
*************************
|
200
147
|
|
201
|
-
Thank you for installing WatirSplash 1.
|
202
|
-
|
203
|
-
Execute `watirsplash new` under your project's directory to generate default project structure.
|
148
|
+
Thank you for installing WatirSplash 1.1.0! Don't forget to take a look at the README and History files!
|
204
149
|
|
205
|
-
|
150
|
+
Execute `watirsplash new` under your project's directory to generate a default project structure.
|
206
151
|
|
207
152
|
*************************
|
208
153
|
rdoc_options:
|
@@ -239,7 +184,7 @@ rubyforge_project:
|
|
239
184
|
rubygems_version: 1.3.7
|
240
185
|
signing_key:
|
241
186
|
specification_version: 3
|
242
|
-
summary: watirsplash 1.
|
187
|
+
summary: watirsplash 1.1.0
|
243
188
|
test_files:
|
244
189
|
- spec/file_helper_spec.rb
|
245
190
|
- spec/spec_helper_spec.rb
|