appium_console 0.0.28 → 0.0.29
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/appium_console/version.rb +2 -2
- data/osx.md +8 -6
- data/release_notes.md +162 -0
- data/test/helper.rb +69 -0
- data/{my_test.rb → test/simple.rb} +1 -1
- data/test/test.rb +20 -0
- metadata +7 -5
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YWJhYWYzMjc3MjM2MDBhMjljYjdlNmMxYzI1OTMxODkzZTIyYmExMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmRhMzFhMjBjY2I2NDcwMTE2MWUyNzM4YjJiOGIxMjllMjdkYjFhZg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTIyOGFjMjVlZDIzMjAyYWE5ZWM1ODIxNmU3MzEyN2UwMWU1YjY1MDE5Y2Zh
|
10
|
+
ZTUyMDRkZDZmMTZkNWU4Mjc1NGM3ZDExZGVlYzBiZTc2M2Y1YzQxMWEyZGIw
|
11
|
+
MGRmYTk5N2FlOTUwZTNhOGIxZTQ2YzYzNzgxODY0YzZiZmQ0ODQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NDYxZjQ5NWNmMTRjMWRkYzJjNTk3NDRmYzU4ZjhmNjc5YmMwMmJjZmQ3MWJi
|
14
|
+
ODkyMTYxZDYxNDA2MzZmZGRhYzQ0MmRmNzM2YzAyMWE0NTIxNzEyMzViMGQ1
|
15
|
+
NjcyNzE0OTVlZjkxNzU3NTA4NTgzNWI0MGY4YWNmOTA2MWMwYzc=
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# encoding: utf-8
|
2
2
|
module AppiumConsole
|
3
|
-
VERSION = '0.0.
|
4
|
-
DATE = '2013-04-
|
3
|
+
VERSION = '0.0.29' unless defined? ::AppiumConsole::VERSION
|
4
|
+
DATE = '2013-04-15' unless defined? ::AppiumConsole::DATE
|
5
5
|
end
|
data/osx.md
CHANGED
@@ -34,9 +34,8 @@ gem uninstall -aIx appium_console ;\
|
|
34
34
|
gem install --no-rdoc --no-ri appium_console
|
35
35
|
```
|
36
36
|
|
37
|
-
- Install [nodejs](http://nodejs.org/) using
|
38
|
-
|
39
|
-
The advantage of using brew is that npm commands will not require sudo.
|
37
|
+
- Install [nodejs](http://nodejs.org/) using `brew install node`. Node should be `v0.10.2` or better.
|
38
|
+
Don't use the big green install button on nodejs.org or all npm commands will require sudo.
|
40
39
|
|
41
40
|
`$ node --version`
|
42
41
|
|
@@ -56,10 +55,13 @@ grunt v0.4.1
|
|
56
55
|
|
57
56
|
`$ git clone git://github.com/appium/appium.git`
|
58
57
|
|
59
|
-
- Run reset.sh
|
60
|
-
If you installed node with brew, reset only has to be run once and doesn't require sudo.
|
58
|
+
- Run reset.sh
|
61
59
|
|
62
|
-
`cd appium;
|
60
|
+
`cd appium; ./reset.sh`
|
61
|
+
|
62
|
+
- If there are errors, you may have to run reset.sh this way
|
63
|
+
|
64
|
+
`sudo ANDROID_HOME=$ANDROID_HOME ./reset.sh`
|
63
65
|
|
64
66
|
- Start appium. `-V` enables verbose and `--fast-reset` enables fast rest for Android.
|
65
67
|
|
data/release_notes.md
CHANGED
@@ -1 +1,163 @@
|
|
1
|
+
#### v0.0.28 2013-04-11
|
1
2
|
|
3
|
+
- [94ae27d](https://github.com/appium/ruby_console/commit/94ae27d54c57f16b45937decfded0cdac9e10160) Release 0.0.28
|
4
|
+
- [8030b11](https://github.com/appium/ruby_console/commit/8030b116ac6b677366a823608fc4de4c68747ecf) Add release notes
|
5
|
+
- [c734bf0](https://github.com/appium/ruby_console/commit/c734bf0ccdeb959edcba15126ef1866671f599d2) Add release notes
|
6
|
+
- [30c8495](https://github.com/appium/ruby_console/commit/30c849564a0d90d00cf3ab787b6431b57358271f) Update readme.md
|
7
|
+
- [fe46dce](https://github.com/appium/ruby_console/commit/fe46dce875403b9bf3d0520cf47b273d78c4677d) Update readme.md
|
8
|
+
- [842f700](https://github.com/appium/ruby_console/commit/842f70080d9bd82bb348b2e9445d6fe36149ea25) Update readme.md
|
9
|
+
- [a535c9d](https://github.com/appium/ruby_console/commit/a535c9d4175ef7b7ea0242f2d3c74981b0a92511) Add appium.txt config file
|
10
|
+
- [e405df1](https://github.com/appium/ruby_console/commit/e405df1724fc099e6f7f0e586589a0fa02f301ef) Update osx.md
|
11
|
+
- [22a77e4](https://github.com/appium/ruby_console/commit/22a77e45373080d2b02e45ce75183a8abb5bcb11) Appium Console is a gem so no need to clone
|
12
|
+
- [5fc2d07](https://github.com/appium/ruby_console/commit/5fc2d07f20c0ac8d4f2603c6540fa6cffbe8afb6) Use read only git url
|
13
|
+
- [fd2258d](https://github.com/appium/ruby_console/commit/fd2258de4c0f1ff775e6d43e3bd4cf1740f13ee3) Add arc upgrade to readme
|
14
|
+
- [70f0ab8](https://github.com/appium/ruby_console/commit/70f0ab8686d86d049996e6bdd77404187cb41c8c) Add arc upgrade command
|
15
|
+
- [ba1afa5](https://github.com/appium/ruby_console/commit/ba1afa5dffd1007e6e0f18d6d96ac498247a13eb) Add version command to readme
|
16
|
+
- [d5d0b0d](https://github.com/appium/ruby_console/commit/d5d0b0d12df00e294bbb0df0252c5ffc452cca92) Add version command
|
17
|
+
- [b03e80e](https://github.com/appium/ruby_console/commit/b03e80e36e11ea7fbddc7c7acb969b8ea30714b0) Move docs to ruby_lib
|
18
|
+
- [626f813](https://github.com/appium/ruby_console/commit/626f813a666fb16e5d32271a18b3bb60635966d1) Update readme.md
|
19
|
+
- [3f5af60](https://github.com/appium/ruby_console/commit/3f5af6077a872a40314aba9f00b89a519e22b0ba) Update osx.md
|
20
|
+
|
21
|
+
|
22
|
+
#### v0.0.27 2013-04-05
|
23
|
+
|
24
|
+
- [1551adc](https://github.com/appium/ruby_console/commit/1551adc6167b0195d847c14edbc9358f4d23a078) Release 0.0.27
|
25
|
+
|
26
|
+
|
27
|
+
#### v0.0.26 2013-04-05
|
28
|
+
|
29
|
+
- [645578b](https://github.com/appium/ruby_console/commit/645578bed82d11c06ea1e7415d5864edc09e8b31) Release 0.0.26
|
30
|
+
- [d42cfd2](https://github.com/appium/ruby_console/commit/d42cfd228b059202c7b745cb0b69259ce431e04d) Add @keep to cucumber example
|
31
|
+
- [8b7dc20](https://github.com/appium/ruby_console/commit/8b7dc20b2083bdbc936e2155dab870c0970d9d78) Update readme.md
|
32
|
+
- [9d10070](https://github.com/appium/ruby_console/commit/9d10070102c855cb2d5b47bec751c276582c1beb) Update readme.md
|
33
|
+
|
34
|
+
|
35
|
+
#### v0.0.25 2013-03-28
|
36
|
+
|
37
|
+
- [12e40b8](https://github.com/appium/ruby_console/commit/12e40b876136ea987d47f4d419f67d4d8aeaadd5) Release 0.0.25
|
38
|
+
|
39
|
+
|
40
|
+
#### v0.0.24 2013-03-28
|
41
|
+
|
42
|
+
- [c7097e1](https://github.com/appium/ruby_console/commit/c7097e1247c76397196389d2221efc1ae4dac803) Release 0.0.24
|
43
|
+
- [c9a94ea](https://github.com/appium/ruby_console/commit/c9a94ea19890c6b96f5ce4f491d953e651dbf4b9) RubyGems can't detect dependencies properly
|
44
|
+
- [2596610](https://github.com/appium/ruby_console/commit/2596610151f3d939fcc8edc178a65379831095d9) Add name doc
|
45
|
+
|
46
|
+
|
47
|
+
#### v0.0.23 2013-03-27
|
48
|
+
|
49
|
+
- [b9334ff](https://github.com/appium/ruby_console/commit/b9334ff5e5b4070ce0ceff061a07bd57c3386bb3) Release 0.0.23
|
50
|
+
- [62ff36a](https://github.com/appium/ruby_console/commit/62ff36a2224aa6c045efd43520b9f52910d4a2d7) Update readme.md
|
51
|
+
- [5a08576](https://github.com/appium/ruby_console/commit/5a0857672ce8f4e21e00edef2dace0c5f6f4d2e8) Update osx.md
|
52
|
+
- [038202a](https://github.com/appium/ruby_console/commit/038202a495efd7b25d970e1c48044f6bd14a5a30) Update osx.md
|
53
|
+
- [da91d95](https://github.com/appium/ruby_console/commit/da91d95b17d9a0de9a77170789cdb38d03d68cc6) Update osx.md
|
54
|
+
- [4814e97](https://github.com/appium/ruby_console/commit/4814e97079f4cd47c797276014ae118e55d79902) Update osx.md
|
55
|
+
- [e3cc15c](https://github.com/appium/ruby_console/commit/e3cc15cc311ade3fbe242d0f0ebbb7836c8c873b) Update osx.md
|
56
|
+
- [99b5ce0](https://github.com/appium/ruby_console/commit/99b5ce011cec5fdc13ccfde60d78bd6350cebf2b) Update osx.md
|
57
|
+
- [34acecc](https://github.com/appium/ruby_console/commit/34acecc016ba11d3bf49b4e4e98b5611fb947553) Update osx.md
|
58
|
+
- [f5e3a5f](https://github.com/appium/ruby_console/commit/f5e3a5f599113d567180768fc79d241d9913184f) Update osx.md
|
59
|
+
|
60
|
+
|
61
|
+
#### v0.0.22 2013-03-23
|
62
|
+
|
63
|
+
- [319554c](https://github.com/appium/ruby_console/commit/319554cc14c34cd981a91ad0e5a84afc574d036e) Release 0.0.22
|
64
|
+
- [e7b4508](https://github.com/appium/ruby_console/commit/e7b45082250c9e17feb4c1529bae634c46580c75) Fix gemspec
|
65
|
+
|
66
|
+
|
67
|
+
#### v0.0.21 2013-03-22
|
68
|
+
|
69
|
+
- [9dc45af](https://github.com/appium/ruby_console/commit/9dc45aff3d369d73b6ed2c3df79cb9845e4fa2eb) Release 0.0.21
|
70
|
+
- [4ad39ca](https://github.com/appium/ruby_console/commit/4ad39caeaafbb58d983adb06b10ca4fc6c962261) Complete rename
|
71
|
+
|
72
|
+
|
73
|
+
#### v0.0.20 2013-03-22
|
74
|
+
|
75
|
+
- [667db43](https://github.com/appium/ruby_console/commit/667db43968c9d584d1fc606c264bc894d08bc74c) Release 0.0.20
|
76
|
+
- [c6b0cad](https://github.com/appium/ruby_console/commit/c6b0cad7b139ecc6f3acaf13c3ae9fdc97254bf8) Update appium_console.gemspec
|
77
|
+
- [f3cfe6f](https://github.com/appium/ruby_console/commit/f3cfe6f835c5cb1c9784c4914ca7555ad82426af) Update readme.md
|
78
|
+
|
79
|
+
|
80
|
+
#### v0.0.19 2013-03-22
|
81
|
+
|
82
|
+
- [217c452](https://github.com/appium/ruby_console/commit/217c452980347c1da0ab1244b58c66076d7b603f) Release 0.0.19
|
83
|
+
- [e77fbf9](https://github.com/appium/ruby_console/commit/e77fbf97f243ecf63b1ff58c49f5fbee0bd71834) Fix gemspec
|
84
|
+
- [266c724](https://github.com/appium/ruby_console/commit/266c724d0980f326f86e74c3c959b9d6a83e3b91) Update .gitignore
|
85
|
+
- [fcc4162](https://github.com/appium/ruby_console/commit/fcc416216ccbb8ebaa53ea3fb602d2e32e0e9660) Add gemspec
|
86
|
+
- [2050852](https://github.com/appium/ruby_console/commit/2050852fd299b18501a5b43f56b56df3f7cf63ac) Fix gemspec
|
87
|
+
- [e1464d0](https://github.com/appium/ruby_console/commit/e1464d02048c62a53cedefb7348fb4334633937f) Fix version
|
88
|
+
- [331225f](https://github.com/appium/ruby_console/commit/331225f0ee2e097741f8f6f43de2b90e7af23bcf) Add encoding
|
89
|
+
- [900dd16](https://github.com/appium/ruby_console/commit/900dd169ec57108b54e047df24274032d8f33753) Restore files
|
90
|
+
- [63cf484](https://github.com/appium/ruby_console/commit/63cf48424fea8340b666a303777e30338041f174) Fix link
|
91
|
+
- [80faa6e](https://github.com/appium/ruby_console/commit/80faa6e4c7585a16071ea83f3ee74c6e1a1705b5) Rename gem to appium_console
|
92
|
+
- [3b05eef](https://github.com/appium/ruby_console/commit/3b05eefb908f79dc0f1458d87524501599e663a7) Rename to appium console for rubygems
|
93
|
+
- [b5f036c](https://github.com/appium/ruby_console/commit/b5f036c2690c2d5673d0f28399cc53ff8887de8b) Update ffi to 1.5.0
|
94
|
+
- [a647bd2](https://github.com/appium/ruby_console/commit/a647bd2c7e3e8e18103317796c57b90df68971a4) Add implicit wait docs
|
95
|
+
|
96
|
+
|
97
|
+
#### v0.0.17 2013-03-21
|
98
|
+
|
99
|
+
- [81f2288](https://github.com/appium/ruby_console/commit/81f2288c9559ae2d1eb893c146e43e7c6455aa29) Release 0.0.17
|
100
|
+
- [6a4f5e6](https://github.com/appium/ruby_console/commit/6a4f5e67c943f08beb8aca599e561e4e7ba4abea) Fix doc
|
101
|
+
|
102
|
+
|
103
|
+
#### v0.0.16 2013-03-20
|
104
|
+
|
105
|
+
- [6548de1](https://github.com/appium/ruby_console/commit/6548de111182df8a6eacf7f2a4f896fb23593ce0) Release 0.0.16
|
106
|
+
|
107
|
+
|
108
|
+
#### v0.0.15 2013-03-20
|
109
|
+
|
110
|
+
- [68b4b80](https://github.com/appium/ruby_console/commit/68b4b8085b95582528fe7769fff3682a88e161da) Release 0.0.15
|
111
|
+
- [e5a4227](https://github.com/appium/ruby_console/commit/e5a4227911880c9ce583bb3914a76f071db03740) Update Rakefile
|
112
|
+
- [33d3455](https://github.com/appium/ruby_console/commit/33d345532d50d5a130d1731b2a8fbd821af4733c) Add element(index) docs
|
113
|
+
- [06cd8d4](https://github.com/appium/ruby_console/commit/06cd8d44708107999c61c4ea67e069fca1680939) Update readme.md
|
114
|
+
- [4b4231a](https://github.com/appium/ruby_console/commit/4b4231ad221e9baaa1b448b9750445b5b9774d6e) Update readme.md
|
115
|
+
- [587c4b1](https://github.com/appium/ruby_console/commit/587c4b1df095cac5096ad74fb90f77a2f45dcf88) Update readme.md
|
116
|
+
- [ca1b702](https://github.com/appium/ruby_console/commit/ca1b70240b79bf5ef7ba069e63280e070b40f7e4) Fix update notes
|
117
|
+
- [fa9e0a8](https://github.com/appium/ruby_console/commit/fa9e0a86b2d7109991f57e979055b8d26212f23d) Update readme.md
|
118
|
+
|
119
|
+
|
120
|
+
#### v0.0.14 2013-03-20
|
121
|
+
|
122
|
+
- [bb3a695](https://github.com/appium/ruby_console/commit/bb3a69546e6cfa63dc4d71fd77ed1178e75d896b) Release 0.0.14
|
123
|
+
- [cf92263](https://github.com/appium/ruby_console/commit/cf922632cfb8fb2abfe63b4c28d708cb451eff40) Fix app_lib to ruby console version
|
124
|
+
- [77647f1](https://github.com/appium/ruby_console/commit/77647f12394bc3f1bb32511f877bda94b085462a) Add mobile helper doc
|
125
|
+
- [1718459](https://github.com/appium/ruby_console/commit/17184595d3157efc5733b7fe22f45e7bf3f0d95b) Update readme.md
|
126
|
+
- [5d9a122](https://github.com/appium/ruby_console/commit/5d9a1220be2b9e242b13044904205bf01e1db757) Update readme.md
|
127
|
+
- [a04a1f1](https://github.com/appium/ruby_console/commit/a04a1f140755ae655b0151e9fe0100ab7553b3a2) Update readme.md
|
128
|
+
- [1b141e8](https://github.com/appium/ruby_console/commit/1b141e8b4ea18f867a31659f31bfd4cae8420907) Update readme.md
|
129
|
+
- [eb4db8a](https://github.com/appium/ruby_console/commit/eb4db8aaeb34ebb85ce8ebee7eeb72afd7642d90) Update readme.md
|
130
|
+
- [05c7d5b](https://github.com/appium/ruby_console/commit/05c7d5b5e9e4fe54d10bfcb5bdd83b0a73d614f9) Update my_test.rb
|
131
|
+
- [50c1e4e](https://github.com/appium/ruby_console/commit/50c1e4eafc1db63b612ce1a489fc184d84e80051) Update my_test.rb
|
132
|
+
- [2dedefd](https://github.com/appium/ruby_console/commit/2dedefd9fb0f3d6b8e45b0eeeb7139bf6b829666) Update readme.md
|
133
|
+
- [d097103](https://github.com/appium/ruby_console/commit/d097103e7a1ab1b78050489c0fa43c5bf14f2eae) Update readme.md
|
134
|
+
- [a00c6a9](https://github.com/appium/ruby_console/commit/a00c6a91b53d166afc4b3d2213ef5e44cddee1ad) Update readme.md
|
135
|
+
|
136
|
+
|
137
|
+
#### v0.0.13 2013-03-20
|
138
|
+
|
139
|
+
- [36127e0](https://github.com/appium/ruby_console/commit/36127e0e2250068673d7cff81b6a51c10ef65c7a) Release 0.0.13
|
140
|
+
- [7af75f5](https://github.com/appium/ruby_console/commit/7af75f540043cac96afc4a686204355d4d4fa895) Release 0.0.12
|
141
|
+
- [929eb9d](https://github.com/appium/ruby_console/commit/929eb9d3807d68367deb7e55abbe5153080fb93c) Release 0.0.11
|
142
|
+
- [6423db3](https://github.com/appium/ruby_console/commit/6423db32896af21697071bd74ca867742384bb88) Bump gemspec
|
143
|
+
- [718ea73](https://github.com/appium/ruby_console/commit/718ea735320b76080f776a28b3ca090c735f6b95) Update readme.md
|
144
|
+
- [4c27218](https://github.com/appium/ruby_console/commit/4c272185c8b29370811d5cac5bd410d30ae98a80) Release 0.0.9
|
145
|
+
- [02d41c7](https://github.com/appium/ruby_console/commit/02d41c7231f3e83fff27ea0463dc6dcf064a2e48) Release 0.0.12
|
146
|
+
- [ad0c8d2](https://github.com/appium/ruby_console/commit/ad0c8d2340d245ab448dde2783e5cdea751a83b0) Update ruby_console.gemspec
|
147
|
+
- [9b4f796](https://github.com/appium/ruby_console/commit/9b4f796b5292025bc7c958f1d1bdd91cebaf3e8e) Release 0.0.11
|
148
|
+
- [59673a5](https://github.com/appium/ruby_console/commit/59673a5891356e2a927cfc3b217765d71596ac78) Bump gemspec
|
149
|
+
- [433a225](https://github.com/appium/ruby_console/commit/433a2258c3401c13b259ec0faeb5afd5461f142a) Update ruby_console.gemspec
|
150
|
+
- [27f2a6c](https://github.com/appium/ruby_console/commit/27f2a6cbb3065bf32051f5fa3cc5a3779487890f) Update readme.md
|
151
|
+
- [69f24f6](https://github.com/appium/ruby_console/commit/69f24f6b9afb775143af97e8fd8287d2f9bf5f4c) Release 0.0.9
|
152
|
+
|
153
|
+
|
154
|
+
#### v0.0.12 2013-03-20
|
155
|
+
|
156
|
+
- [02d41c7](https://github.com/appium/ruby_console/commit/02d41c7231f3e83fff27ea0463dc6dcf064a2e48) Release 0.0.12
|
157
|
+
|
158
|
+
|
159
|
+
#### v0.0.11 2013-03-20
|
160
|
+
|
161
|
+
- [9b4f796](https://github.com/appium/ruby_console/commit/9b4f796b5292025bc7c958f1d1bdd91cebaf3e8e) Release 0.0.11
|
162
|
+
- [59673a5](https://github.com/appium/ruby_console/commit/59673a5891356e2a927cfc3b217765d71596ac78) Bump gemspec
|
163
|
+
- [27f2a6c](https://github.com/appium/ruby_console/commit/27f2a6cbb3065bf32051f5fa3cc5a3779487890f) Update readme.md
|
data/test/helper.rb
ADDED
@@ -0,0 +1,69 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
|
3
|
+
require 'rubygems'
|
4
|
+
require 'appium_lib'
|
5
|
+
|
6
|
+
# gem install minitest minitest-reporters
|
7
|
+
require 'minitest/autorun'
|
8
|
+
# Format the report
|
9
|
+
require 'minitest/reporters'
|
10
|
+
|
11
|
+
# rename test, change end message.
|
12
|
+
# https://github.com/CapnKernul/minitest-reporters/blob/master/lib/minitest/reporters/progress_reporter.rb
|
13
|
+
module MiniTest
|
14
|
+
module Reporters
|
15
|
+
class ProgressReporter
|
16
|
+
def error(suite, test, test_runner)
|
17
|
+
test = test.to_s.sub(/test_\d+_/, '').to_sym
|
18
|
+
wipe
|
19
|
+
print(red { 'ERROR' })
|
20
|
+
print_test_with_time(suite, test)
|
21
|
+
puts
|
22
|
+
print_info(test_runner.exception)
|
23
|
+
puts
|
24
|
+
|
25
|
+
self.color = RED
|
26
|
+
end
|
27
|
+
def after_suites(suites, type)
|
28
|
+
@progress.close
|
29
|
+
|
30
|
+
total_time = Time.now - runner.suites_start_time
|
31
|
+
|
32
|
+
wipe
|
33
|
+
puts
|
34
|
+
puts('Finished in %.2fs' % total_time)
|
35
|
+
tests = runner.test_count
|
36
|
+
asserts = runner.assertion_count
|
37
|
+
fails = runner.failures
|
38
|
+
errors = runner.errors
|
39
|
+
skips = runner.skips
|
40
|
+
print("%d test#{tests == 1 ? '' : 's'}#{(asserts == fails && fails == errors && errors == skips && skips == 0) ? '' : ', '}" % [tests])
|
41
|
+
print('%d assertions, ' % [runner.assertion_count]) unless asserts == 0
|
42
|
+
print(red { '%d failures, ' } % [runner.failures]) unless fails == 0
|
43
|
+
print(red { "%d error#{runner.errors == 1 ? '' : 's'}#{skips ? '' : ', '}" } % [errors]) unless errors == 0
|
44
|
+
print(yellow { '%d skips' } % runner.skips) unless skips == 0
|
45
|
+
puts
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
MiniTest::Reporters.use! MiniTest::Reporters::ProgressReporter.new
|
52
|
+
|
53
|
+
# Alter '# Run options:' from minitest-reports
|
54
|
+
# https://github.com/CapnKernul/minitest-reporters/blob/master/lib/minitest/reporter_runner.rb#L28
|
55
|
+
module MiniTest
|
56
|
+
class ReporterRunner < Unit
|
57
|
+
def _run_suites(suites, type)
|
58
|
+
test_order = @help.match /\-\-seed (\d+)/
|
59
|
+
# '# Run options: --seed 10181' => 'test order: 10181'
|
60
|
+
$stdout.puts "test order: #{test_order[1]}" if test_order
|
61
|
+
@suites_start_time = Time.now
|
62
|
+
count_tests!(suites, type)
|
63
|
+
trigger_callback(:before_suites, suites, type)
|
64
|
+
super(suites, type)
|
65
|
+
ensure
|
66
|
+
trigger_callback(:after_suites, suites, type)
|
67
|
+
end
|
68
|
+
end
|
69
|
+
end
|
data/test/test.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# encoding: utf-8
|
2
|
+
#
|
3
|
+
# run with
|
4
|
+
# ruby test.rb
|
5
|
+
|
6
|
+
require './helper.rb'
|
7
|
+
|
8
|
+
start_driver
|
9
|
+
|
10
|
+
describe 'test' do
|
11
|
+
it 'must sign in' do
|
12
|
+
# button('Sign In').click
|
13
|
+
# raise
|
14
|
+
end
|
15
|
+
it 'nop' do; end
|
16
|
+
it 'error' do; end
|
17
|
+
end
|
18
|
+
|
19
|
+
# Quit
|
20
|
+
x
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appium_console
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.29
|
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-04-
|
11
|
+
date: 2013-04-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: appium_lib
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ! '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.0.
|
19
|
+
version: 0.0.29
|
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: 0.0.
|
26
|
+
version: 0.0.29
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: pry
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -88,10 +88,12 @@ files:
|
|
88
88
|
- lib/appium_console.rb
|
89
89
|
- lib/appium_console/version.rb
|
90
90
|
- lib/start.rb
|
91
|
-
- my_test.rb
|
92
91
|
- osx.md
|
93
92
|
- readme.md
|
94
93
|
- release_notes.md
|
94
|
+
- test/helper.rb
|
95
|
+
- test/simple.rb
|
96
|
+
- test/test.rb
|
95
97
|
homepage: https://github.com/appium/ruby_console
|
96
98
|
licenses:
|
97
99
|
- http://www.apache.org/licenses/LICENSE-2.0.txt
|