flaky 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/flake +3 -3
- data/doc/accessibility_terminal.jpg +0 -0
- data/lib/flaky.rb +2 -2
- data/readme.md +18 -1
- data/release_notes.md +7 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 098a8d5e456867c9d726ed34f2d906c0ece1512c
|
4
|
+
data.tar.gz: 0951d70253a2ce6897226f80ee61e49e2b19c16e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e2049891ca61098af3928c9e37c77751edddd7a52531e6d3b6f600a71809c520a5b2a88bc2e2216e8cb1d790670fb951fe56d796c1620c6c56711df2166bff5c
|
7
|
+
data.tar.gz: 8fa46e86c3b1188f047f4b350da56884e40c414c97f4f127b15e72bc56b2e919484bf4671e0e7cfd2b91bbabf40a502a81158e884791b94efd138353a4752771
|
data/bin/flake
CHANGED
@@ -2,12 +2,12 @@
|
|
2
2
|
# encoding: utf-8
|
3
3
|
|
4
4
|
usage_string = <<-'MSG'
|
5
|
-
|
5
|
+
flake [count] ios[test_name]
|
6
6
|
|
7
|
-
|
7
|
+
flake 1 ios[sign_in]
|
8
8
|
Run the sign in test one time
|
9
9
|
|
10
|
-
|
10
|
+
flake 3 ios
|
11
11
|
Run all iOS tests up to 3 times
|
12
12
|
If one run passes or 3 runs fail, then we move onto the next test.
|
13
13
|
MSG
|
Binary file
|
data/lib/flaky.rb
CHANGED
@@ -9,8 +9,8 @@ require 'posix/spawn' # http://rubygems.org/gems/posix-spawn
|
|
9
9
|
require 'digest/md5'
|
10
10
|
|
11
11
|
module Flaky
|
12
|
-
VERSION = '0.0.
|
13
|
-
DATE = '2013-11-
|
12
|
+
VERSION = '0.0.11' unless defined? ::Flaky::VERSION
|
13
|
+
DATE = '2013-11-04' unless defined? ::Flaky::DATE
|
14
14
|
|
15
15
|
# https://github.com/appium/ruby_lib/blob/0e203d76610abd519ba9d2fe9c14b50c94df5bbd/lib/appium_lib.rb#L24
|
16
16
|
def self.add_to_path file, path=false
|
data/readme.md
CHANGED
@@ -2,12 +2,14 @@
|
|
2
2
|
|
3
3
|
Run Appium iOS tests to measure flakiness.
|
4
4
|
|
5
|
-
- `gem install flaky`
|
5
|
+
- `gem uninstall -aIx flaky; gem install --no-rdoc --no-ri flaky`
|
6
6
|
- `flake 3 ios[nop]` - Run the iOS test named nop 3 times.
|
7
7
|
- `flake 3 ios` - Run all the iOS tests up to 3 times.
|
8
8
|
If a test passes then it moves onto the next test.
|
9
9
|
If a test fails 3 times then it moves onto the next test.
|
10
10
|
|
11
|
+
The `flake` command must be run in the directory that contains the `Rakefile`.
|
12
|
+
|
11
13
|
Results are stored in `/tmp/flaky`
|
12
14
|
|
13
15
|
Must set `ENV['APPIUM_HOME']` to point to the appium folder containing `server.js`.
|
@@ -17,6 +19,21 @@ This only works with:
|
|
17
19
|
- [Ruby / appium_lib iOS](https://github.com/appium/ruby_lib_ios)
|
18
20
|
- iOS iPhone Simulator 6.1
|
19
21
|
|
22
|
+
#### Security dialogs
|
23
|
+
|
24
|
+
Instruments prompts for security authorization when testing on iOS.
|
25
|
+
Set the following environment variables in `~/.bash_profile`.
|
26
|
+
If you don't know your username, type `whoami` in the Terminal and use that value.
|
27
|
+
|
28
|
+
```
|
29
|
+
export FLAKY_USER="username"
|
30
|
+
export FLAKY_PASSWORD="password"
|
31
|
+
```
|
32
|
+
|
33
|
+
Ensure that Terminal has been granted permission to control the computer. This is set in Security & Privacy -> Accessibility.
|
34
|
+
|
35
|
+
![](doc/accessibility_terminal.jpg)
|
36
|
+
|
20
37
|
--
|
21
38
|
|
22
39
|
#### For each test:
|
data/release_notes.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
#### v0.0.10 2013-11-01
|
2
|
+
|
3
|
+
- [2930fad](https://github.com/appium/flaky/commit/2930fad03109ef705837d72e5a2457895974f741) Release 0.0.10
|
4
|
+
- [8507820](https://github.com/appium/flaky/commit/850782043bf6f9acdc8b54d91ed2e91050c89b95) Work around OS X auth issue
|
5
|
+
- [1ae3727](https://github.com/appium/flaky/commit/1ae3727af3258adab97ec6ef72b6bbbd34360bbb) Add test count
|
6
|
+
|
7
|
+
|
1
8
|
#### v0.0.9 2013-10-21
|
2
9
|
|
3
10
|
- [2e8faf8](https://github.com/appium/flaky/commit/2e8faf8aadf71d61f327e5e587c625345b5a62d6) Release 0.0.9
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flaky
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- code@bootstraponline.com
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-11-
|
11
|
+
date: 2013-11-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: chronic_duration
|
@@ -77,6 +77,7 @@ files:
|
|
77
77
|
- LICENSE-2.0.txt
|
78
78
|
- Rakefile
|
79
79
|
- bin/flake
|
80
|
+
- doc/accessibility_terminal.jpg
|
80
81
|
- flaky.gemspec
|
81
82
|
- lib/BeatSecurityAgent.applescript
|
82
83
|
- lib/flaky.rb
|