awetestlib 0.1.30-x86-mingw32 → 1.2.4-x86-mingw32
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 +7 -0
- data/README.md +101 -41
- data/awetestlib.gemspec +36 -47
- data/awetestlib_osx.gemspec +24 -18
- data/awetestlib_windows.gemspec +46 -0
- data/bin/awetestlib +130 -111
- data/bin/awetestlib-driver-setup.rb +0 -2
- data/bin/awetestlib-helpers.rb +43 -30
- data/lib/awetestlib.rb +196 -20
- data/lib/awetestlib/command_line.rb +44 -0
- data/lib/awetestlib/html_report.rb +57 -50
- data/lib/awetestlib/logging.rb +242 -171
- data/lib/awetestlib/regression/awetest_dsl.rb +4240 -0
- data/lib/awetestlib/regression/browser.rb +514 -397
- data/lib/awetestlib/regression/date_and_time.rb +280 -0
- data/lib/awetestlib/regression/drag_and_drop.rb +24 -0
- data/lib/awetestlib/regression/find.rb +70 -43
- data/lib/awetestlib/regression/legacy.rb +1 -1
- data/lib/awetestlib/regression/mobile.rb +293 -0
- data/lib/awetestlib/regression/reporting.rb +298 -0
- data/lib/awetestlib/regression/runner.rb +156 -200
- data/lib/awetestlib/regression/tables.rb +117 -7
- data/lib/awetestlib/regression/test_data.rb +354 -0
- data/lib/awetestlib/regression/user_input.rb +179 -93
- data/lib/awetestlib/regression/utilities.rb +755 -286
- data/lib/awetestlib/regression/validations.rb +325 -115
- data/lib/awetestlib/regression/waits.rb +60 -133
- data/lib/awetestlib/runner.rb +5 -2
- data/lib/version.rb +11 -2
- data/setup_samples/sample_cucumber/features/step_definitions/predefined_steps.rb +109 -49
- data/setup_samples/sample_mobile_app/features/support/env.rb +1 -1
- data/test/google_search2.rb +7 -6
- data/test/popup_child_0.rb +13 -0
- data/test/popup_child_1.rb +33 -0
- data/test/watir_no_require.rb +13 -0
- data/test/watir_with_require.rb +16 -0
- data/test/zoho_exercise.rb +8 -8
- metadata +216 -303
- data/AwetestLib Instructions.rtf +0 -0
- data/awetestlib.windows.gemspec +0 -42
- data/lib/patches/README +0 -2
- data/lib/patches/firewatir.rb +0 -106
- data/lib/patches/watir.rb +0 -175
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 233110f8a75a2d768b126c57d59052e151844014
|
4
|
+
data.tar.gz: 7853f33a306044e6da2d84caff7e4182e2de87ab
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2752fa08082ae8112d6ff7c2b7b99db0c2da594e5868ddc41b7dae3388ab9385f506d5030ec1254045548bfe775f6a4415a6bb00ca8e41f49b8ed4a0d4461db8
|
7
|
+
data.tar.gz: c130f7b10173234ceedcdbc5254cc0cdece3461611c649a65e6db74dd920a6075aeca96d78500e93704b2204a15d7c50066c937d65538d0aa91dfdc754134cdd
|
data/README.md
CHANGED
@@ -1,49 +1,85 @@
|
|
1
1
|
Awetestlib
|
2
2
|
==========
|
3
3
|
|
4
|
-
Automate testing of browser-based applications in Windows or
|
4
|
+
Automate testing of browser-based applications in Windows, OSX, iOS, or Android
|
5
|
+
|
6
|
+
## Note: Awetestlib is undergoing significant changes and this document is very much a work in progress.
|
7
|
+
1. Support for cucumber and calabash is removed to keep things focused
|
8
|
+
2. Support for classic Watir is removed. Watir-Webdriver and Selenium IE support are much improved since Awetestlib was first written.
|
9
|
+
3. Native and hybrid mobile applications are not supported. Browser based apps only.
|
10
|
+
4. The legacy awetestlib dsl is being phased out.
|
11
|
+
5. The new dsl is both simplified and expanded. Code readability and consistency is the primary aim.
|
12
|
+
6. The gem will be heavily documented using Yard conventions so look for the current deployed version in rubygems and rubydoc.info
|
5
13
|
|
6
|
-
After completing this guide you will be able to run tests locally from command line or from an IDE.
|
7
14
|
|
8
15
|
------------
|
9
|
-
## Prerequisites: Ruby
|
16
|
+
## Prerequisites: Ruby 2.0.x and RubyInstaller Devkit (Windows) or Xcode (Mac)
|
17
|
+
|
18
|
+
### Windows
|
19
|
+
#### Ruby 2.0.x
|
20
|
+
You need to have Ruby 2.0.x installed using the RubyInstaller package.
|
10
21
|
|
11
|
-
You
|
22
|
+
You can download the RubyInstaller for 2.0.x
|
23
|
+
[here](http://rubyinstaller.org/downloads/). Choose the most recent 2.0.x.
|
12
24
|
|
13
|
-
|
14
|
-
[here](http://rubyinstaller.org/downloads/). Choose the most recent 1.8.7.
|
25
|
+
**Install in a directory without spaces, like C:\Ruby187. Don't install in Program Files.**
|
15
26
|
|
16
|
-
Make sure you tell the installer to put Ruby in the PATH environment variable
|
27
|
+
**Make sure you tell the installer to put Ruby in the PATH environment variable.**
|
17
28
|
|
18
29
|
You can check your Ruby version using:
|
19
30
|
|
20
31
|
ruby -v
|
21
32
|
|
22
|
-
|
33
|
+
|
34
|
+
#### RubyInstaller Devkit (Windows only)
|
35
|
+
Additionally, for Windows, you will need to install the RubyInstaller DevKit to compile a few dependent gems.
|
23
36
|
|
24
37
|
Download DevKit
|
25
|
-
[here](http://rubyinstaller.org/downloads/)
|
26
|
-
and the installation directions can be found
|
27
|
-
[here](https://github.com/oneclick/rubyinstaller/wiki/Development-Kit).
|
38
|
+
[from here](http://rubyinstaller.org/downloads/)
|
39
|
+
and the installation directions can also be found
|
40
|
+
[here](https://github.com/oneclick/rubyinstaller/wiki/Development-Kit).
|
41
|
+
|
42
|
+
Choose the one for Ruby 2.0.x and your Windows word size (32 or 64 bit) and download the package.
|
43
|
+
|
44
|
+
Create directory C:\devkit and unzip the devkit package into that directory.
|
45
|
+
|
46
|
+
Open a command window and change to C:\devkit.
|
47
|
+
|
48
|
+
Then execute
|
49
|
+
|
50
|
+
ruby dk.rb init
|
28
51
|
|
29
|
-
|
52
|
+
And do
|
53
|
+
|
54
|
+
ruby dk.rb review
|
55
|
+
|
56
|
+
And make sure you see C:\Ruby20x at the end of the output. Now
|
57
|
+
|
58
|
+
ruby dk.rb install
|
30
59
|
|
31
60
|
If you have difficulties with the above in Windows 7 and/or behind a firewall, you may have to set the http_proxy and/or run the installers as administrator. (see below)
|
32
61
|
|
62
|
+
### OSX
|
63
|
+
#### Ruby
|
64
|
+
Ruby 1.8.7 is installed by default in OSX. You will have to update to 2.0.x
|
65
|
+
|
66
|
+
#### Xcode
|
67
|
+
Follow Mac instructions for installing/upgrading Xcode to latest version.
|
68
|
+
|
33
69
|
## Install Awetestlib
|
34
70
|
|
35
|
-
**Start** by opening a command window or terminal
|
71
|
+
**Start** by opening a command window or terminal.
|
36
72
|
|
37
73
|
----------
|
38
74
|
|
39
|
-
####NOTE: If you are behind a firewall:
|
75
|
+
#### NOTE: If you are behind a firewall:
|
40
76
|
|
41
77
|
1. You will need to set the http_proxy environment variable
|
42
|
-
2. You
|
78
|
+
2. You _may_ have to change the HOMEDRIVE environment variable to C: in Windows
|
43
79
|
3. You may need to run the Windows 7 command window as administrator.
|
44
80
|
|
45
81
|
In Windows
|
46
|
-
|
82
|
+
|
47
83
|
set http_proxy=http://myproxy.mycompany.com:80
|
48
84
|
set HOMEDRIVE=C:
|
49
85
|
|
@@ -53,16 +89,24 @@ In OSX
|
|
53
89
|
|
54
90
|
|
55
91
|
----------
|
56
|
-
|
92
|
+
#### Temporary but necessary (13may2013)
|
57
93
|
|
58
|
-
|
94
|
+
In the command window:
|
59
95
|
|
60
|
-
|
96
|
+
gem install nokogiri -v 1.5.9 --no-ri --no-rdoc
|
97
|
+
|
98
|
+
And
|
99
|
+
|
100
|
+
gem install mini_magick -v 3.5.0 --no-ri --no-rdoc
|
101
|
+
|
102
|
+
**Then**, in the command window, install the awetestlib gem.
|
61
103
|
|
62
104
|
Note: This could take up to 5 minutes for first time installs. You may need to use 'sudo' on OSX
|
63
105
|
|
106
|
+
gem install awetestlib --no-ri --no-rdoc
|
107
|
+
|
64
108
|
**Then** run the following command and verify the step
|
65
|
-
|
109
|
+
|
66
110
|
awetestlib regression_setup
|
67
111
|
|
68
112
|
### Usage
|
@@ -70,45 +114,63 @@ Note: This could take up to 5 minutes for first time installs. You may need to
|
|
70
114
|
Run the following command to see the different usages
|
71
115
|
|
72
116
|
awetestlib
|
117
|
+
|
118
|
+
## Mobile
|
119
|
+
### Appium (both Windows and OSX)
|
120
|
+
#### Android
|
121
|
+
##### Emulator (Windows only)
|
122
|
+
##### Device
|
123
|
+
#### iOs
|
124
|
+
##### Simulator (OSX only)
|
125
|
+
##### Device
|
73
126
|
|
74
127
|
## Setup Browsers
|
75
|
-
### Safari (
|
76
|
-
To setup support for Safari browser,
|
128
|
+
### Safari (OSX only)
|
129
|
+
To setup support for Safari browser, download the Selenium Safari Standalone Server from [Selenium downloads](https://code.google.com/p/selenium/downloads/list).
|
130
|
+
Select selenium-server-standalone-x.xx.xx.jar. (The version is 2.33.0 as of this writing.) Download it and copy it into /Library/Java/Extensions.
|
131
|
+
You will need to start this process in a terminal session before running Safari scripts, else you will get a 'waiting for connection' error.
|
132
|
+
Start it with this command in a terminal session:
|
77
133
|
|
78
|
-
|
134
|
+
nohup java -jar /Library/Java/Extensions/selenium-server-standalone-2.33.0.jar &
|
79
135
|
|
80
136
|
When using raw Watir-webdriver for Safari, open the browser with
|
81
137
|
|
82
138
|
browser = Watir::Browser.new(:remote, :desired_capabilities=>:'safari')
|
83
139
|
|
140
|
+
A Caveat: The Selenium SafariDriver currently cannot handle modal alerts/windows, except to dismiss them (invisibly) whenever they exist. ([Issue 3862](https://code.google.com/p/selenium/issues/detail?id=3862))
|
141
|
+
This means that any modal, expected or not, will not be visible when the selenium-server-standalone is running. Expected alerts ('Are you sure?') also do not appear, even when manually clicking link or button that should produce alert.
|
142
|
+
|
143
|
+
### Firefox
|
144
|
+
|
145
|
+
Firefox support is built into the selenium-webdriver gem (required by the watir-webdriver gem) for both Windows and OSX.
|
146
|
+
|
84
147
|
### Chrome
|
85
|
-
To setup support for Google Chrome browser, please download the latest Chromedriver version from [here](http://code.google.com/p/chromedriver/downloads/list)
|
148
|
+
To setup support for Google Chrome browser, please download the latest Chromedriver version for your platform from [here](http://code.google.com/p/chromedriver/downloads/list)
|
86
149
|
|
87
|
-
Then move the executables
|
150
|
+
Then move the executables into your PATH. To find your PATH, type the command below in your terminal/command prompt:
|
88
151
|
|
89
|
-
For
|
152
|
+
For OSX:
|
90
153
|
|
91
154
|
echo $PATH
|
92
155
|
|
93
156
|
For Windows:
|
94
157
|
|
95
158
|
PATH
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
### Internet Explorer
|
100
|
-
To setup support for Internet Explorer, please download the latest IEDriverServer version from [here](http://code.google.com/p/selenium/downloads/list)
|
159
|
+
|
160
|
+
### Internet Explorer (Windows only)
|
161
|
+
To setup support for Internet Explorer, please download the latest IEDriverServer version from [here](http://code.google.com/p/selenium/downloads/list)
|
101
162
|
and move the executable into your PATH.
|
102
163
|
|
164
|
+
We suggest putting the Chrome and IE drivers in C:\Ruby187\bin (in Windows) as it should already be in your path.
|
103
165
|
|
104
166
|
## Setup IDEs (Rubymine, Netbeans)
|
105
167
|
|
106
168
|
To setup the awetestlib gem with Rubymine use:
|
107
169
|
|
108
170
|
awetestlib rubymine_setup <ProjectName>
|
109
|
-
|
171
|
+
|
110
172
|
To setup awetestlib with Netbeans use:
|
111
|
-
|
173
|
+
|
112
174
|
awetestlib netbeans_setup <ProjectName>
|
113
175
|
|
114
176
|
You can now start your scripts within the IDE. Follow the instructions in each IDE for creating and executing run/debug configurations.
|
@@ -122,15 +184,15 @@ For additional information on IDE setup, refer to the links below:
|
|
122
184
|
## Command Line Execution
|
123
185
|
If you prefer to run your tests from command line, you can use the following command
|
124
186
|
|
125
|
-
`awetestlib <script_file> [
|
187
|
+
`awetestlib <script_file> [options]`
|
126
188
|
|
127
189
|
For example: To run a script named demo.rb in Firefox, your command will look like:
|
128
190
|
|
129
191
|
`awetestlib demo.rb -b FF`
|
130
192
|
|
131
|
-
Here is the full list of the currently available command line
|
193
|
+
Here is the full list of the currently available command line options:
|
132
194
|
|
133
|
-
Usage: awetestlib <script_file> [
|
195
|
+
Usage: awetestlib <script_file> [options]
|
134
196
|
-b, --browser BROWSER Specify a browser (IE, FF, S, C)
|
135
197
|
-r, --root_path ROOT_PATH Specify the root path (default is current path)
|
136
198
|
-l, --library LIBRARY Specify a library to be loaded
|
@@ -142,7 +204,7 @@ Here is the full list of the currently available command line parameters:
|
|
142
204
|
-u, --selenium_remote_url URL Specify the device's remote url and port
|
143
205
|
-s, --screencap_path PATH Specify the path where screenshots will be saved
|
144
206
|
-o, --output_to_log Write to log file
|
145
|
-
--log_path_subdir SUBDIR Specify log path relative to root_path
|
207
|
+
--log_path_subdir SUBDIR Specify log path relative to root_path. Defaults to (root_path)/log if -o is specified.
|
146
208
|
-p, --pry Require Pry for debugging
|
147
209
|
-c, --classic_watir Use Classic Watir for IE instead of Watir-webdriver
|
148
210
|
--report_all_test_refs Include list of all error/test case reference ids actually validated
|
@@ -151,7 +213,7 @@ To start writing your own script, refer to the [Scripting Guide/Wiki](https://gi
|
|
151
213
|
|
152
214
|
For the latest documentation of the Awetest DSL go to [Rubydoc](http://rubydoc.info/gems/awetestlib) and look in Awetestlib::Regression.
|
153
215
|
|
154
|
-
### Cucumber Support
|
216
|
+
### Cucumber Support
|
155
217
|
|
156
218
|
One of the technologies that the Awetest framework supports is [Cucumber](http://cukes.info/). To get setup with cucumber, you can run the following command:
|
157
219
|
|
@@ -159,6 +221,4 @@ One of the technologies that the Awetest framework supports is [Cucumber](http:/
|
|
159
221
|
|
160
222
|
That will create the standard cucumber folder structure in the ProjectName directory.
|
161
223
|
|
162
|
-
Visit our [wiki](https://github.com/3qilabs/awetestlib/wiki/Predefined-Cucumber-Web-Steps) to see the list of predefined steps provided by awetestlib
|
163
|
-
|
164
|
-
|
224
|
+
Visit our [wiki](https://github.com/3qilabs/awetestlib/wiki/Predefined-Cucumber-Web-Steps) to see the list of predefined steps provided by awetestlib.
|
data/awetestlib.gemspec
CHANGED
@@ -1,57 +1,46 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
2
|
puts "#{$0}"
|
3
|
-
require
|
4
|
-
|
5
|
-
#hack for debugging
|
6
|
-
`wellsproxy`
|
7
|
-
#end hack
|
3
|
+
require File.expand_path('../lib/version', __FILE__)
|
8
4
|
|
9
5
|
Gem::Specification.new do |s|
|
10
6
|
|
11
|
-
s.name
|
12
|
-
s.version
|
13
|
-
s.date
|
14
|
-
s.platform = Gem::Platform::
|
7
|
+
s.name = %q{awetestlib}
|
8
|
+
s.version = Awetestlib::VERSION
|
9
|
+
s.date = Awetestlib::VERSION_DATE
|
10
|
+
s.platform = Gem::Platform::CURRENT
|
11
|
+
|
12
|
+
s.metadata = {
|
13
|
+
"version" => Awetestlib::VERSION.to_s,
|
14
|
+
"git_branch" => Awetestlib::BRANCH.to_s,
|
15
|
+
"git_commit" => Awetestlib::SHA.to_s,
|
16
|
+
"git_commit_date" => Awetestlib::SHA_DATE.to_s
|
17
|
+
}
|
15
18
|
|
16
19
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
17
|
-
s.authors
|
18
|
-
s.email
|
19
|
-
s.summary
|
20
|
-
s.homepage
|
21
|
-
s.description
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
s.add_dependency('google-spreadsheet-ruby', '0.1.6')
|
42
|
-
s.add_dependency('roo', '1.10.1')
|
43
|
-
#s.add_dependency('selenium-client') # for running selenium scripts
|
44
|
-
s.add_dependency('selenium-webdriver')
|
45
|
-
rescue
|
46
|
-
puts "#{$!}"
|
47
|
-
end
|
48
|
-
|
49
|
-
s.require_paths = ["lib","ext"]
|
50
|
-
s.files = `git ls-files`.split("\n")
|
51
|
-
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
52
|
-
|
53
|
-
#This line tells rubygems to look for an extension to install
|
54
|
-
s.extensions << 'ext/mkrf_conf.rb'
|
20
|
+
s.authors = ["Patrick Neve", "Anthony Woo"]
|
21
|
+
s.email = %q{patrick@3qilabs.com}
|
22
|
+
s.summary = %q{Awetest DSL for automated testing desktop and mobile browser-based applications.}
|
23
|
+
s.homepage = %q{http://3qilabs.com}
|
24
|
+
s.description = %q{Features robust and flexible reporting.}
|
25
|
+
|
26
|
+
s.add_dependency('watir-webdriver')
|
27
|
+
s.add_dependency('watir-nokogiri')
|
28
|
+
s.add_dependency('activesupport', '~> 4.2', '>= 4.2.0')
|
29
|
+
s.add_dependency('andand')
|
30
|
+
s.add_dependency('roo', '~> 2.0', '>= 2.0.1')
|
31
|
+
s.add_dependency('selenium-webdriver')
|
32
|
+
s.add_dependency('nokogiri')
|
33
|
+
s.add_dependency('i18n')
|
34
|
+
s.add_dependency('appium_lib', '~> 6.0')
|
35
|
+
s.add_dependency('pry')
|
36
|
+
s.add_dependency('sys-uname')
|
37
|
+
s.add_dependency('w3c_validators')
|
38
|
+
s.add_dependency('html_validation')
|
39
|
+
s.add_dependency('git')
|
40
|
+
|
41
|
+
s.require_paths = ["lib"]
|
42
|
+
s.files = `git ls-files`.split("\n")
|
43
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
55
44
|
|
56
45
|
end
|
57
46
|
|
data/awetestlib_osx.gemspec
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
require
|
2
|
+
require File.expand_path('../lib/version', __FILE__)
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
|
@@ -8,34 +8,40 @@ Gem::Specification.new do |s|
|
|
8
8
|
s.date = Awetestlib::VERSION_DATE
|
9
9
|
s.platform = Gem::Platform::RUBY
|
10
10
|
|
11
|
+
s.metadata = {
|
12
|
+
"version" => Awetestlib::VERSION.to_s,
|
13
|
+
"git_branch" => Awetestlib::BRANCH.to_s,
|
14
|
+
"git_commit" => Awetestlib::SHA.to_s,
|
15
|
+
"git_commit_date" => Awetestlib::SHA_DATE.to_s
|
16
|
+
}
|
17
|
+
|
11
18
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
|
-
s.authors
|
13
|
-
s.email
|
14
|
-
s.summary
|
15
|
-
s.homepage
|
16
|
-
s.description
|
19
|
+
s.authors = ["Patrick Neve", "Anthony Woo"]
|
20
|
+
s.email = %q{patrick@3qilabs.com}
|
21
|
+
s.summary = %q{Awetest DSL for automated testing desktop and mobile browser-based applications.}
|
22
|
+
s.homepage = %q{http://3qilabs.com}
|
23
|
+
s.description = %q{Features robust and flexible reporting.}
|
17
24
|
|
18
25
|
s.add_dependency('watir-webdriver')
|
19
|
-
s.add_dependency('
|
26
|
+
s.add_dependency('watir-nokogiri')
|
27
|
+
s.add_dependency('activesupport', '~> 4.2', '>= 4.2.0')
|
20
28
|
s.add_dependency('andand')
|
21
|
-
s.add_dependency('
|
22
|
-
s.add_dependency('google-spreadsheet-ruby', '0.1.6')
|
23
|
-
s.add_dependency('roo', '1.10.1')
|
24
|
-
s.add_dependency('multipart-post', '1.1.4')
|
29
|
+
s.add_dependency('roo', '~> 2.0', '>= 2.0.1')
|
25
30
|
s.add_dependency('selenium-webdriver')
|
26
31
|
s.add_dependency('nokogiri')
|
27
32
|
s.add_dependency('i18n')
|
28
|
-
s.add_dependency('
|
33
|
+
s.add_dependency('appium_lib', '~> 6.0')
|
29
34
|
s.add_dependency('pry')
|
30
|
-
s.add_dependency('cucumber')
|
31
|
-
s.add_dependency('calabash-cucumber')
|
32
35
|
s.add_dependency('sys-uname')
|
33
|
-
s.
|
36
|
+
s.add_dependency('w3c_validators')
|
37
|
+
s.add_dependency('html_validation')
|
38
|
+
s.add_dependency('git')
|
39
|
+
|
40
|
+
#s.add_dependency('rb-appscript')
|
41
|
+
|
42
|
+
s.require_paths = ["lib"]
|
34
43
|
s.files = `git ls-files`.split("\n")
|
35
44
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
36
45
|
|
37
|
-
#This line tells rubygems to look for an extension to install
|
38
|
-
#s.extensions = ["ext\\mkrf_conf.rb"]
|
39
|
-
|
40
46
|
end
|
41
47
|
|
@@ -0,0 +1,46 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
puts "#{$0}"
|
3
|
+
require File.expand_path('../lib/version', __FILE__)
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
|
7
|
+
s.name = %q{awetestlib}
|
8
|
+
s.version = Awetestlib::VERSION
|
9
|
+
s.date = Awetestlib::VERSION_DATE
|
10
|
+
s.platform = Gem::Platform::CURRENT
|
11
|
+
|
12
|
+
s.metadata = {
|
13
|
+
"version" => Awetestlib::VERSION.to_s,
|
14
|
+
"git_branch" => Awetestlib::BRANCH.to_s,
|
15
|
+
"git_commit" => Awetestlib::SHA.to_s,
|
16
|
+
"git_commit_date" => Awetestlib::SHA_DATE.to_s
|
17
|
+
}
|
18
|
+
|
19
|
+
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
20
|
+
s.authors = ["Patrick Neve", "Anthony Woo"]
|
21
|
+
s.email = %q{patrick@3qilabs.com}
|
22
|
+
s.summary = %q{Awetest DSL for automated testing desktop and mobile browser-based applications.}
|
23
|
+
s.homepage = %q{http://3qilabs.com}
|
24
|
+
s.description = %q{Features robust and flexible reporting.}
|
25
|
+
|
26
|
+
s.add_dependency('watir-webdriver')
|
27
|
+
s.add_dependency('watir-nokogiri')
|
28
|
+
s.add_dependency('activesupport', '~> 4.2', '>= 4.2.0')
|
29
|
+
s.add_dependency('andand')
|
30
|
+
s.add_dependency('roo', '~> 2.0', '>= 2.0.1')
|
31
|
+
s.add_dependency('selenium-webdriver')
|
32
|
+
s.add_dependency('nokogiri')
|
33
|
+
s.add_dependency('i18n')
|
34
|
+
s.add_dependency('appium_lib', '~> 6.0')
|
35
|
+
s.add_dependency('pry')
|
36
|
+
s.add_dependency('sys-uname')
|
37
|
+
s.add_dependency('w3c_validators')
|
38
|
+
s.add_dependency('html_validation')
|
39
|
+
s.add_dependency('git')
|
40
|
+
|
41
|
+
s.require_paths = ["lib"]
|
42
|
+
s.files = `git ls-files`.split("\n")
|
43
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
|
44
|
+
|
45
|
+
end
|
46
|
+
|