briar 0.1.3.b5 → 0.1.3.b6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +36 -20
- data/briar.gemspec +9 -10
- data/lib/briar.rb +0 -38
- data/lib/briar/briar_core.rb +38 -0
- data/lib/briar/cucumber.rb +24 -3
- data/lib/briar/uia/briar_ipad_emulation.rb +9 -17
- data/lib/briar/version.rb +1 -1
- metadata +15 -40
- data/.gitignore +0 -31
- data/cucumber.yml.example +0 -21
- data/dotirbc+briar +0 -12
- data/lib/briar/briar_steps.rb +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d47641a74475402a7cfb4cc6a7693cdff83477e0
|
4
|
+
data.tar.gz: 26d1f06f4739a772aa599b507811838cd34d95f6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 099614b3ee8a07ae8c790ee5d866bfc5710db0a28453c838dae80ad08d9f222f8642cece6d0181840aef0768e42dd1733e264ee9772d07d48aaae9c5e40f7bf7
|
7
|
+
data.tar.gz: 8e51149e59fd615ee0df09d827ead49ad8217d20bc317b5adcab906fa1f43f9bda5b6dbb8010bab6e33cf31f694882060807720931b38cd49f34658fd8cb79d6
|
data/README.md
CHANGED
@@ -1,43 +1,59 @@
|
|
1
1
|
# Briar
|
2
2
|
|
3
|
-
|
4
|
-
your write cucumber Scenarios that interact with complex ui elements like tables, pickers, and sliders.
|
3
|
+
Briar Extends the steps defined in [calabash-ios](https://github.com/calabash/calabash-ios.git) to help you write cucumber Scenarios that interact with complex UI elements like tables, pickers, and sliders.
|
5
4
|
|
6
5
|
### WARNING: briar is not trying to provide steps that will work for every project
|
7
6
|
|
8
7
|
Every project should cultivate its own [venacular](http://en.wikipedia.org/wiki/Vernacular) -
|
9
|
-
a shared language between developers, clients, and users.
|
10
|
-
are not meant to be dropped into into your projects (although they can be). briar provides a
|
11
|
-
library [lib] of ruby methods to build application-specific steps from. the steps in the features
|
12
|
-
directory are meant to be examples of what briar can offer.
|
8
|
+
a shared language between developers, clients, and users. The [steps that briar provides](features/step_definitions) are not meant to be dropped into into your projects (although they can be). Briar provides a library of ruby methods to build application-specific steps from. The steps in the features directory are meant to be examples of what briar can offer.
|
13
9
|
|
14
|
-
|
10
|
+
To see briar in action, take a look at https://github.com/jmoody/briar-ios-example
|
15
11
|
|
16
12
|
### motivation
|
17
13
|
|
18
|
-
DRY:
|
19
|
-
|
14
|
+
DRY: I have several iOS projects that use calabash-cucumber and I found I was rewriting lots of steps and supporting code.
|
15
|
+
|
16
|
+
## Installation
|
17
|
+
|
18
|
+
Requires ruby >= 1.9.2
|
19
|
+
|
20
|
+
In your Gemfile:
|
21
|
+
|
22
|
+
```
|
23
|
+
gem 'briar'
|
24
|
+
```
|
25
|
+
|
26
|
+
In your `features/support/env.rb` file:
|
27
|
+
|
28
|
+
```
|
29
|
+
require 'calabash-cucumber/cucumber'
|
30
|
+
require 'briar/cucumber'
|
31
|
+
|
32
|
+
# optional
|
33
|
+
I18n.enforce_available_locales = false
|
34
|
+
```
|
35
|
+
|
36
|
+
## Xamarin Test Cloud
|
37
|
+
|
38
|
+
There is currently an issue with using briar predefined steps on the XTC:
|
39
|
+
|
40
|
+
```
|
41
|
+
# fails validation step
|
42
|
+
Then I touch the "time" row
|
43
|
+
```
|
20
44
|
|
21
45
|
## version numbers
|
22
46
|
|
23
|
-
|
47
|
+
I will try my best to follow http://semver.org/ when naming the versions.
|
24
48
|
|
25
49
|
## Why call it briar?
|
26
50
|
|
27
51
|
* http://en.wikipedia.org/wiki/Smoking_pipe_(tobacco)#Calabash
|
28
52
|
* http://en.wikipedia.org/wiki/Smoking_pipe_(tobacco)#Briar
|
29
53
|
|
30
|
-
##
|
31
|
-
|
32
|
-
getting closer to stability
|
33
|
-
|
34
|
-
* there are still major problems with date picking
|
35
|
-
* can now run tests on lesspainful! woot!
|
36
|
-
* there are lot's of wait_for_animation calls that should be replaced with wait_for methods
|
37
|
-
|
38
|
-
## Usage
|
54
|
+
## Road Map
|
39
55
|
|
40
|
-
|
56
|
+
I am thinking of dropping all the of predefined steps! Beware! You have been warned!
|
41
57
|
|
42
58
|
## Contributing
|
43
59
|
|
data/briar.gemspec
CHANGED
@@ -1,8 +1,5 @@
|
|
1
1
|
# -*- encoding: utf-8 -*-
|
2
|
-
|
3
|
-
#lib = File.expand_path('../lib', __FILE__)
|
4
|
-
#$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
-
require 'briar/version'
|
2
|
+
require_relative 'lib/briar/version'
|
6
3
|
|
7
4
|
Gem::Specification.new do |gem|
|
8
5
|
gem.name = 'briar'
|
@@ -14,12 +11,14 @@ Gem::Specification.new do |gem|
|
|
14
11
|
gem.homepage = 'https://github.com/jmoody/briar'
|
15
12
|
gem.license = 'MIT'
|
16
13
|
|
17
|
-
gem.
|
18
|
-
gem.add_runtime_dependency 'rake'
|
19
|
-
gem.add_runtime_dependency 'syntax'
|
14
|
+
gem.required_ruby_version = Gem::Requirement.new('>= 1.9.2')
|
20
15
|
|
21
|
-
gem.
|
16
|
+
gem.add_runtime_dependency 'calabash-cucumber', '>= 0.9.164'
|
17
|
+
gem.add_runtime_dependency 'rake', '~>10.1'
|
18
|
+
gem.add_runtime_dependency 'syntax', '~>1.2'
|
19
|
+
|
20
|
+
gem.files = `git ls-files`.split("\n") - ['.gitignore']
|
22
21
|
gem.executables = 'briar'
|
23
|
-
gem.test_files = gem.files.grep(%r{^(test|spec
|
24
|
-
gem.require_paths = ['lib']
|
22
|
+
gem.test_files = gem.files.grep(%r{^(test|spec)/})
|
23
|
+
gem.require_paths = ['lib', 'features']
|
25
24
|
end
|
data/lib/briar.rb
CHANGED
@@ -71,41 +71,3 @@ require 'briar/scroll_view'
|
|
71
71
|
require 'briar/table'
|
72
72
|
require 'briar/text_field'
|
73
73
|
require 'briar/text_view'
|
74
|
-
|
75
|
-
|
76
|
-
# <b>DEPRECATED</b> since 0.9.163
|
77
|
-
#
|
78
|
-
# replaced with:
|
79
|
-
# * calabash function <tt>default_device</tt>
|
80
|
-
# * methods in <tt>calabash-cucumber/environment_helpers.rb</tt>
|
81
|
-
# * briar function <tt>default_device_or_create</tt>
|
82
|
-
def device
|
83
|
-
msg = "use the calabash function 'default_device', one of the methods in calabash-cucumber/environment_helpers.rb', or briar's 'default_device_or_create'"
|
84
|
-
_deprecated('0.9.163', msg, :warn)
|
85
|
-
default_device_or_create()
|
86
|
-
|
87
|
-
d = default_device()
|
88
|
-
if d.nil?
|
89
|
-
d = Calabash::Cucumber::Device.new(nil, server_version())
|
90
|
-
end
|
91
|
-
d
|
92
|
-
end
|
93
|
-
|
94
|
-
# returns the device that is currently being tested against
|
95
|
-
#
|
96
|
-
# returns the +device+ attr of <tt>Calabash::Cucumber::Launcher</tt> if
|
97
|
-
# it is defined. otherwise, creates a new <tt>Calabash::Cucumber::Device</tt>
|
98
|
-
# by querying the server.
|
99
|
-
#
|
100
|
-
# raises an error if the server cannot be reached
|
101
|
-
def default_device_or_create
|
102
|
-
device = default_device()
|
103
|
-
if device.nil?
|
104
|
-
device = Calabash::Cucumber::Device.new(nil, server_version())
|
105
|
-
end
|
106
|
-
device
|
107
|
-
end
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
data/lib/briar/briar_core.rb
CHANGED
@@ -7,7 +7,12 @@ module Briar
|
|
7
7
|
sleep(BRIAR_STEP_PAUSE)
|
8
8
|
end
|
9
9
|
|
10
|
+
def step_pause_if_xtc
|
11
|
+
sleep(BRIAR_STEP_PAUSE) if xamarin_test_cloud?
|
12
|
+
end
|
13
|
+
|
10
14
|
def wait_for_animation
|
15
|
+
_deprecated('0.1.3', "use any of the 'wait_*' functions instead", :warn)
|
11
16
|
sleep(ANIMATION_PAUSE)
|
12
17
|
end
|
13
18
|
|
@@ -176,6 +181,39 @@ module Briar
|
|
176
181
|
stripped = tokens.map { |elm| elm.strip }
|
177
182
|
stripped.delete_if { |elm| ['and', 'or', ''].include?(elm) }
|
178
183
|
end
|
184
|
+
|
185
|
+
|
186
|
+
# <b>DEPRECATED</b> since 0.9.163
|
187
|
+
#
|
188
|
+
# replaced with:
|
189
|
+
# * calabash function <tt>default_device</tt>
|
190
|
+
# * methods in <tt>calabash-cucumber/environment_helpers.rb</tt>
|
191
|
+
# * briar function <tt>default_device_or_create</tt>
|
192
|
+
def device
|
193
|
+
msg = "use the calabash function 'default_device', one of the methods in calabash-cucumber/environment_helpers.rb', or briar's 'default_device_or_create'"
|
194
|
+
_deprecated('0.9.163', msg, :warn)
|
195
|
+
d = default_device_or_create()
|
196
|
+
if d.nil?
|
197
|
+
d = Calabash::Cucumber::Device.new(nil, server_version())
|
198
|
+
end
|
199
|
+
d
|
200
|
+
end
|
201
|
+
|
202
|
+
# returns the device that is currently being tested against
|
203
|
+
#
|
204
|
+
# returns the +device+ attr of <tt>Calabash::Cucumber::Launcher</tt> if
|
205
|
+
# it is defined. otherwise, creates a new <tt>Calabash::Cucumber::Device</tt>
|
206
|
+
# by querying the server.
|
207
|
+
#
|
208
|
+
# raises an error if the server cannot be reached
|
209
|
+
def default_device_or_create
|
210
|
+
device = default_device()
|
211
|
+
if device.nil?
|
212
|
+
device = Calabash::Cucumber::Device.new(nil, server_version())
|
213
|
+
end
|
214
|
+
device
|
215
|
+
end
|
216
|
+
|
179
217
|
end
|
180
218
|
end
|
181
219
|
|
data/lib/briar/cucumber.rb
CHANGED
@@ -26,7 +26,28 @@ World(Briar::Table)
|
|
26
26
|
World(Briar::TextField)
|
27
27
|
World(Briar::TextView)
|
28
28
|
|
29
|
+
require_relative '../../features/step_definitions/alerts_and_sheets/action_sheet_steps'
|
30
|
+
require_relative '../../features/step_definitions/alerts_and_sheets/alert_view_steps'
|
29
31
|
|
30
|
-
|
31
|
-
|
32
|
-
|
32
|
+
require_relative '../../features/step_definitions/bars/tabbar_steps'
|
33
|
+
require_relative '../../features/step_definitions/bars/navbar_steps'
|
34
|
+
require_relative '../../features/step_definitions/bars/toolbar_steps'
|
35
|
+
|
36
|
+
require_relative '../../features/step_definitions/control/button_steps'
|
37
|
+
require_relative '../../features/step_definitions/control/segmented_control_steps'
|
38
|
+
require_relative '../../features/step_definitions/control/slider_steps'
|
39
|
+
|
40
|
+
|
41
|
+
require_relative '../../features/step_definitions/picker/picker_steps'
|
42
|
+
require_relative '../../features/step_definitions/picker/date_picker_steps'
|
43
|
+
|
44
|
+
|
45
|
+
require_relative '../../features/step_definitions/email_steps'
|
46
|
+
require_relative '../../features/step_definitions/image_view_steps'
|
47
|
+
require_relative '../../features/step_definitions/keyboard_steps'
|
48
|
+
require_relative '../../features/step_definitions/label_steps'
|
49
|
+
require_relative '../../features/step_definitions/scroll_view_steps'
|
50
|
+
|
51
|
+
require_relative '../../features/step_definitions/table_steps'
|
52
|
+
require_relative '../../features/step_definitions/text_field_steps'
|
53
|
+
require_relative '../../features/step_definitions/text_view_steps'
|
@@ -5,21 +5,13 @@ module Briar
|
|
5
5
|
module IPadEmulation
|
6
6
|
|
7
7
|
class Cache
|
8
|
-
|
8
|
+
|
9
9
|
attr_accessor :window_index
|
10
10
|
|
11
11
|
def initialize
|
12
|
-
@device_internal = nil
|
13
12
|
@window_index = nil
|
14
13
|
end
|
15
14
|
|
16
|
-
def current_device
|
17
|
-
if device_internal.nil?
|
18
|
-
#noinspection RubyParenthesesAfterMethodCallInspection
|
19
|
-
@device_internal = default_device_or_create()
|
20
|
-
end
|
21
|
-
@device_internal
|
22
|
-
end
|
23
15
|
|
24
16
|
end
|
25
17
|
# use the apple localization codes
|
@@ -28,13 +20,12 @@ module Briar
|
|
28
20
|
:emulated_2x => 'Switch to normal mode'}
|
29
21
|
}
|
30
22
|
|
31
|
-
def ensure_uia_and_ipad(
|
32
|
-
|
33
|
-
unless cache.current_device.ipad?
|
23
|
+
def ensure_uia_and_ipad()
|
24
|
+
unless ipad?
|
34
25
|
screenshot_and_raise 'this function is only for the iPad'
|
35
26
|
end
|
36
27
|
|
37
|
-
unless
|
28
|
+
unless ios7?
|
38
29
|
screenshot_and_raise 'this function only works on iOS 7'
|
39
30
|
end
|
40
31
|
|
@@ -64,7 +55,7 @@ module Briar
|
|
64
55
|
opts = default_opts.merge(opts)
|
65
56
|
|
66
57
|
if opts[:ensure_uia_and_ipad]
|
67
|
-
ensure_uia_and_ipad(
|
58
|
+
ensure_uia_and_ipad()
|
68
59
|
opts[:ensure_uia_and_ipad] = false
|
69
60
|
end
|
70
61
|
|
@@ -85,7 +76,7 @@ module Briar
|
|
85
76
|
|
86
77
|
|
87
78
|
def is_iphone_app_emulated_on_ipad?(cache=Cache.new)
|
88
|
-
return false unless
|
79
|
+
return false unless ipad?
|
89
80
|
idx = window_index_of_ipad_1x_2x_button({:raise_if_not_found => false,
|
90
81
|
:cache => cache})
|
91
82
|
idx != -1
|
@@ -103,7 +94,7 @@ module Briar
|
|
103
94
|
return cache.window_index unless cache.window_index.nil?
|
104
95
|
|
105
96
|
|
106
|
-
ensure_uia_and_ipad(
|
97
|
+
ensure_uia_and_ipad() if opts[:ensure_uia_and_ipad]
|
107
98
|
|
108
99
|
window_count = uia('UIATarget.localTarget().frontMostApp().windows().length')['value']
|
109
100
|
index = 0
|
@@ -137,7 +128,7 @@ module Briar
|
|
137
128
|
:step_pause_after_touch => BRIAR_STEP_PAUSE,
|
138
129
|
:cache => Cache.new}
|
139
130
|
opts = default_opts.merge(opts)
|
140
|
-
ensure_uia_and_ipad(
|
131
|
+
ensure_uia_and_ipad() if opts[:ensure_uia_and_ipad]
|
141
132
|
|
142
133
|
idx = window_index_of_ipad_1x_2x_button(opts)
|
143
134
|
uia("UIATarget.localTarget().frontMostApp().windows()[#{idx}].buttons()[0].tap()")
|
@@ -185,6 +176,7 @@ module Briar
|
|
185
176
|
opts = default_opts.merge(opts)
|
186
177
|
ensure_ipad_emulation_scale(:emulated_2x, opts)
|
187
178
|
end
|
179
|
+
|
188
180
|
end
|
189
181
|
end
|
190
182
|
end
|
data/lib/briar/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: briar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.3.
|
4
|
+
version: 0.1.3.b6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joshua Moody
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: calabash-cucumber
|
@@ -16,42 +16,42 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 0.9.164
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 0.9.164
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rake
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ~>
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '10.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '10.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: syntax
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '
|
47
|
+
version: '1.2'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ~>
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '1.2'
|
55
55
|
description: extends calabash-ios steps
|
56
56
|
email:
|
57
57
|
- joshuajmoody@gmail.com
|
@@ -60,7 +60,6 @@ executables:
|
|
60
60
|
extensions: []
|
61
61
|
extra_rdoc_files: []
|
62
62
|
files:
|
63
|
-
- .gitignore
|
64
63
|
- Gemfile
|
65
64
|
- LICENSE.txt
|
66
65
|
- README.md
|
@@ -69,8 +68,6 @@ files:
|
|
69
68
|
- bin/briar_helpers.rb
|
70
69
|
- bin/briar_resign.rb
|
71
70
|
- briar.gemspec
|
72
|
-
- cucumber.yml.example
|
73
|
-
- dotirbc+briar
|
74
71
|
- features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
|
75
72
|
- features/step_definitions/alerts_and_sheets/alert_view_steps.rb
|
76
73
|
- features/step_definitions/bars/navbar_steps.rb
|
@@ -100,7 +97,6 @@ files:
|
|
100
97
|
- lib/briar/bars/tabbar.rb
|
101
98
|
- lib/briar/bars/toolbar.rb
|
102
99
|
- lib/briar/briar_core.rb
|
103
|
-
- lib/briar/briar_steps.rb
|
104
100
|
- lib/briar/control/button.rb
|
105
101
|
- lib/briar/control/segmented_control.rb
|
106
102
|
- lib/briar/control/slider.rb
|
@@ -133,11 +129,12 @@ post_install_message:
|
|
133
129
|
rdoc_options: []
|
134
130
|
require_paths:
|
135
131
|
- lib
|
132
|
+
- features
|
136
133
|
required_ruby_version: !ruby/object:Gem::Requirement
|
137
134
|
requirements:
|
138
135
|
- - '>='
|
139
136
|
- !ruby/object:Gem::Version
|
140
|
-
version:
|
137
|
+
version: 1.9.2
|
141
138
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
139
|
requirements:
|
143
140
|
- - '>'
|
@@ -148,28 +145,6 @@ rubyforge_project:
|
|
148
145
|
rubygems_version: 2.2.1
|
149
146
|
signing_key:
|
150
147
|
specification_version: 4
|
151
|
-
summary: briar-0.1.3.
|
148
|
+
summary: briar-0.1.3.b6
|
152
149
|
test_files:
|
153
|
-
- features/step_definitions/alerts_and_sheets/action_sheet_steps.rb
|
154
|
-
- features/step_definitions/alerts_and_sheets/alert_view_steps.rb
|
155
|
-
- features/step_definitions/bars/navbar_steps.rb
|
156
|
-
- features/step_definitions/bars/tabbar_steps.rb
|
157
|
-
- features/step_definitions/bars/toolbar_steps.rb
|
158
|
-
- features/step_definitions/briar_core_steps.rb
|
159
|
-
- features/step_definitions/control/button_steps.rb
|
160
|
-
- features/step_definitions/control/segmented_control_steps.rb
|
161
|
-
- features/step_definitions/control/slider_steps.rb
|
162
|
-
- features/step_definitions/email_steps.rb
|
163
|
-
- features/step_definitions/image_view_steps.rb
|
164
|
-
- features/step_definitions/keyboard_steps.rb
|
165
|
-
- features/step_definitions/label_steps.rb
|
166
|
-
- features/step_definitions/picker/date_picker_steps.rb
|
167
|
-
- features/step_definitions/picker/picker_steps.rb
|
168
|
-
- features/step_definitions/scroll_view_steps.rb
|
169
|
-
- features/step_definitions/table_steps.rb
|
170
|
-
- features/step_definitions/text_field_steps.rb
|
171
|
-
- features/step_definitions/text_view_steps.rb
|
172
|
-
- features/support/env.rb
|
173
|
-
- features/support/hooks.rb
|
174
|
-
- features/support/launch.rb
|
175
150
|
- spec/spec_helper.rb
|
data/.gitignore
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
6
|
-
Gemfile.lock
|
7
|
-
InstalledFiles
|
8
|
-
_yardoc
|
9
|
-
vendor
|
10
|
-
coverage
|
11
|
-
doc/
|
12
|
-
lib/bundler/man
|
13
|
-
pkg
|
14
|
-
rdoc
|
15
|
-
spec/reports
|
16
|
-
test/tmp
|
17
|
-
test/version_tmp
|
18
|
-
tmp
|
19
|
-
|
20
|
-
.ruby-version
|
21
|
-
|
22
|
-
# JetBrains
|
23
|
-
.idea
|
24
|
-
|
25
|
-
# mac
|
26
|
-
.DS_Store
|
27
|
-
__MACOSX
|
28
|
-
|
29
|
-
# emacs turds
|
30
|
-
(.*/)?\#[^/]*\#$
|
31
|
-
|
data/cucumber.yml.example
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
<%
|
2
|
-
|
3
|
-
date = Time.now.strftime('%Y-%m-%d-%H%M-%S')
|
4
|
-
default_report = "./reports/calabash-#{date}.html"
|
5
|
-
|
6
|
-
ss_path = "#{Dir.pwd}/screenshots/"
|
7
|
-
|
8
|
-
`mkdir ./screenshots` unless File.exists?("./screenshots")
|
9
|
-
`mkdir ./reports` unless File.exists?("./reports")
|
10
|
-
|
11
|
-
%>
|
12
|
-
|
13
|
-
ss_path: SCREENSHOT_PATH=<%= ss_path %>
|
14
|
-
html_report: -f html -o <%= default_report %>
|
15
|
-
|
16
|
-
uai: DEVICE_TARGET=simulator
|
17
|
-
|
18
|
-
default: -p ss_path -p html_report -p uai
|
19
|
-
|
20
|
-
|
21
|
-
|
data/dotirbc+briar
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
# append to your .irbrc to have briar in the irb
|
2
|
-
require "briar"
|
3
|
-
include Briar::Bars
|
4
|
-
include Briar::Alerts_and_Sheets
|
5
|
-
include Briar::Control::Button
|
6
|
-
include Briar::Control::Segmented_Control
|
7
|
-
include Briar::Control::Slider
|
8
|
-
include Briar::Picker
|
9
|
-
include Briar::Picker::Date
|
10
|
-
include Briar::Picker_Shared
|
11
|
-
include Briar::Core
|
12
|
-
|
data/lib/briar/briar_steps.rb
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'briar_core_steps')
|
2
|
-
|
3
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'alerts_and_sheets', 'action_sheet_steps')
|
4
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'alerts_and_sheets', 'alert_view_steps')
|
5
|
-
|
6
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'bars', 'tabbar_steps')
|
7
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'bars', 'navbar_steps')
|
8
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'bars', 'toolbar_steps')
|
9
|
-
|
10
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'control', 'button_steps')
|
11
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'control', 'segmented_control_steps')
|
12
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'control', 'slider_steps')
|
13
|
-
|
14
|
-
|
15
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'picker', 'picker_steps')
|
16
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'picker', 'date_picker_steps')
|
17
|
-
|
18
|
-
|
19
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'email_steps')
|
20
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'image_view_steps')
|
21
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'keyboard_steps')
|
22
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'label_steps')
|
23
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'scroll_view_steps')
|
24
|
-
|
25
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'table_steps')
|
26
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'text_field_steps')
|
27
|
-
require File.join(File.dirname(__FILE__), '..', '..','features','step_definitions', 'text_view_steps')
|