angular_automation 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 221c7efaf6d42a8054bde17a1af2a0eaad497ec9
4
+ data.tar.gz: bab26bc55956767b8c833b992c781203efa45267
5
+ SHA512:
6
+ metadata.gz: be204ed55c9714f0ac4b65eabc5b31bbbc5ba7d4e299bb3cbb807e1191527cb782eab3cf639c9bb5f07d5a81eb4bf7012cf32ad166f76d79198b54ff280cd3a6
7
+ data.tar.gz: c18435f5f15caf5241c0c163a563f2b5ed80953023108906f362dae785d19feafd6085602bd81a7fce8aa5f6a1796d04e505e67e51e3be1ac0b48052eca7ac15
data/.gitignore ADDED
@@ -0,0 +1,9 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /Gemfile.lock
4
+ /_yardoc/
5
+ /coverage/
6
+ /doc/
7
+ /pkg/
8
+ /spec/reports/
9
+ /tmp/
data/.travis.yml ADDED
@@ -0,0 +1,3 @@
1
+ language: ruby
2
+ rvm:
3
+ - 2.2.2
data/Gemfile ADDED
@@ -0,0 +1,3 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec
data/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # Angular Automation
2
+
3
+ Angular automation is a collection of gems for webdriver automation.
4
+ The angular_automation gem only refers to other gems, it doesn't provide
5
+ any features by itself.
6
+
7
+
8
+ Gem | Description
9
+ -- | --
10
+ **rspec_flake** | measure test flakiness and performance.
11
+ **rspec_junit** | junit xml reporter that works with rspec_flake
12
+ **angular_page_object** | page object gem with bug fixes and angular helpers
13
+ **page_object_stubs** | page object stub generator for RubyMine
14
+ **sauce_ruby** | sauce labs gem with bug fixes
15
+ **trace_files** | tracing gem used for debugging
16
+
17
+
18
+ The angular_page_object gem depends on:
19
+
20
+ - [angular_webdriver](https://rubygems.org/gems/angular_webdriver) - Protractor client side scripts integrated with Ruby webdriver
21
+ - [page-object](https://rubygems.org/gems/page-object) - page object gem
22
+ - [selenium-webdriver](https://rubygems.org/gems/selenium-webdriver) - upstream selenium webdriver gem
23
+ - [watir-webdriver](https://rubygems.org/gems/watir-webdriver) - watir framework built on top of webdriver
24
+
25
+ #### Use
26
+
27
+ - `require 'angular_automation'`
28
+
29
+ The general use case is:
30
+
31
+ - Tests use the angular_page_object gem with stubs & sauce labs integration
32
+ - Setup Jenkins with Sauce OnDemand plugin to use Sauce Connect & enable reporting
33
+ - make sure to check [`Launch Sauce Connect on Slave`](https://wiki.cloudbees.com/bin/view/DEV/Sauce%20OnDemand%20Service)
34
+ - `Sauce OnDemand support` must be checked
35
+ - Export `SAUCE_USERNAME` and `SAUCE_ACCESS_KEY` in execute shell
36
+ - `rake sauce:spec` to run the tests in parallel
37
+ - Use `rspec_junit` for JUnit xml output
38
+ - Publish JUnit results in post build
39
+ - `Run Sauce Labs Test Publisher` in post build
40
+ - An example of the setup is [available in this repo](https://github.com/bootstraponline/sauce_connect_ruby)
data/Rakefile ADDED
@@ -0,0 +1 @@
1
+ require 'bundler/gem_tasks'
data/Thorfile ADDED
@@ -0,0 +1,6 @@
1
+ require 'appium_thor'
2
+
3
+ Appium::Thor::Config.set do
4
+ gem_name 'angular_automation'
5
+ github_owner 'bootstraponline'
6
+ end
@@ -0,0 +1,27 @@
1
+ require_relative 'lib/angular_automation/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.required_ruby_version = '>= 1.9.3'
5
+
6
+ spec.name = 'angular_automation'
7
+ spec.version = AngularAutomation::VERSION
8
+ spec.date = AngularAutomation::DATE
9
+ spec.license = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
10
+ spec.authors = spec.email = %w(code@bootstraponline.com)
11
+ spec.summary = spec.description = 'Collection of angular automation gems'
12
+ spec.description += '.' # avoid identical warning
13
+ spec.homepage = 'https://github.com/bootstraponline/angular_automation'
14
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
15
+ spec.require_paths = %w(lib)
16
+
17
+ spec.add_runtime_dependency 'rspec_flake', '>= 0.2.2'
18
+ spec.add_runtime_dependency 'rspec_junit', '>= 2.0.0'
19
+ spec.add_runtime_dependency 'angular_page_object', '>= 0.0.2'
20
+ spec.add_runtime_dependency 'page_object_stubs', '>= 0.0.1'
21
+ spec.add_runtime_dependency 'sauce_ruby', '>= 3.5.6'
22
+ spec.add_runtime_dependency 'trace_files', '~> 0.0.2'
23
+
24
+ spec.add_development_dependency 'bundler', '>= 1.9.6'
25
+ spec.add_development_dependency 'rake', '>= 10.4.2'
26
+ spec.add_development_dependency 'appium_thor', '>= 0.0.7'
27
+ end
@@ -0,0 +1,10 @@
1
+ require 'rubygems'
2
+ require 'rspec_flake'
3
+ require 'yarjuf' # rspec_junit
4
+ require 'angular_page_object'
5
+ require 'page_object_stubs'
6
+ require 'sauce' # sauce_ruby
7
+ require 'trace_files'
8
+
9
+ # internal
10
+ require_relative 'angular_automation/version'
@@ -0,0 +1,4 @@
1
+ module AngularAutomation
2
+ VERSION = '0.0.1' unless defined? ::AngularAutomation::VERSION
3
+ DATE = '2015-05-10' unless defined? ::AngularAutomation::DATE
4
+ end
metadata ADDED
@@ -0,0 +1,180 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: angular_automation
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - code@bootstraponline.com
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-05-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec_flake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: 0.2.2
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: 0.2.2
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec_junit
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 2.0.0
41
+ - !ruby/object:Gem::Dependency
42
+ name: angular_page_object
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: 0.0.2
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: 0.0.2
55
+ - !ruby/object:Gem::Dependency
56
+ name: page_object_stubs
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 0.0.1
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 0.0.1
69
+ - !ruby/object:Gem::Dependency
70
+ name: sauce_ruby
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: 3.5.6
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: 3.5.6
83
+ - !ruby/object:Gem::Dependency
84
+ name: trace_files
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.0.2
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.0.2
97
+ - !ruby/object:Gem::Dependency
98
+ name: bundler
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: 1.9.6
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: 1.9.6
111
+ - !ruby/object:Gem::Dependency
112
+ name: rake
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: 10.4.2
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: 10.4.2
125
+ - !ruby/object:Gem::Dependency
126
+ name: appium_thor
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ">="
130
+ - !ruby/object:Gem::Version
131
+ version: 0.0.7
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ">="
137
+ - !ruby/object:Gem::Version
138
+ version: 0.0.7
139
+ description: Collection of angular automation gems.
140
+ email:
141
+ - code@bootstraponline.com
142
+ executables: []
143
+ extensions: []
144
+ extra_rdoc_files: []
145
+ files:
146
+ - ".gitignore"
147
+ - ".travis.yml"
148
+ - Gemfile
149
+ - README.md
150
+ - Rakefile
151
+ - Thorfile
152
+ - angular_automation.gemspec
153
+ - lib/angular_automation.rb
154
+ - lib/angular_automation/version.rb
155
+ homepage: https://github.com/bootstraponline/angular_automation
156
+ licenses:
157
+ - http://www.apache.org/licenses/LICENSE-2.0.txt
158
+ metadata: {}
159
+ post_install_message:
160
+ rdoc_options: []
161
+ require_paths:
162
+ - lib
163
+ required_ruby_version: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: 1.9.3
168
+ required_rubygems_version: !ruby/object:Gem::Requirement
169
+ requirements:
170
+ - - ">="
171
+ - !ruby/object:Gem::Version
172
+ version: '0'
173
+ requirements: []
174
+ rubyforge_project:
175
+ rubygems_version: 2.4.6
176
+ signing_key:
177
+ specification_version: 4
178
+ summary: Collection of angular automation gems
179
+ test_files: []
180
+ has_rdoc: