bauxite 0.6.16 → 0.6.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -0
- data/doc/Bauxite/Loggers/ReportLogger.html +2 -1
- data/doc/README_md.html +16 -0
- data/doc/created.rid +5 -5
- data/doc/index.html +15 -0
- data/doc/table_of_contents.html +1 -0
- data/lib/bauxite/core/logger.rb +1 -0
- data/lib/bauxite.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ba435f130bd446633c636acf4aec44606e6736f
|
4
|
+
data.tar.gz: ab49f98dcf87f7d6d5f7623873213fb1b0e4e115
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce19503d1bf491b34eac51c776889c0e490ca93c221506a4d562652431213e474bca7416575842953d58874176c8513b27c4f4a2bf79f7e85ffa4e4653405b26
|
7
|
+
data.tar.gz: 358dd29ff6d84cfbe35adb08a5666279b25caf485a7ba691e1ebc838eaa8584dbd5e831ab82b173756c7586d5679c8c621f505bb7e9581e15dfc3339515be116
|
data/README.md
CHANGED
@@ -41,6 +41,8 @@ If you don't have Ruby 2.x yet, check the [Installing Ruby](#installing-ruby) se
|
|
41
41
|
|
42
42
|
Remember you should probably install [Firefox](http://www.mozilla.org) (unless you want to use other browsers or Selenium server by specifying the `-p` switch to the `bauxite` executable).
|
43
43
|
|
44
|
+
You might also like to try the [bauxite-capture](https://github.com/pzavolinsky/bauxite-capture) Firefox add-on to record Bauxite tests directly from the browser (please note that this extension is still *very* experimental so its not yet hosted in the Mozilla add-ons page).
|
45
|
+
|
44
46
|
Hello World
|
45
47
|
-----------
|
46
48
|
|
@@ -109,6 +111,11 @@ This section presented a brief introduction into the basic Bauxite concepts. Fo
|
|
109
111
|
- [Creating new Actions](http://pzavolinsky.github.io/bauxite/Bauxite/Action.html)
|
110
112
|
- [Creating new Selectors](http://pzavolinsky.github.io/bauxite/Bauxite/Selector.html)
|
111
113
|
|
114
|
+
Firefox add-on
|
115
|
+
--------------
|
116
|
+
|
117
|
+
As an alternative method of writing Bauxite tests, you might try the [bauxite-capture](https://github.com/pzavolinsky/bauxite-capture) Firefox add-on to record Bauxite tests directly from the browser (please note that this extension is still *very* experimental so its not yet hosted in the Mozilla add-ons page).
|
118
|
+
|
112
119
|
Installing Ruby
|
113
120
|
---------------
|
114
121
|
|
@@ -214,7 +214,7 @@ implementation see the <a href="HtmlLogger.html">HtmlLogger</a> class.</p>
|
|
214
214
|
|
215
215
|
|
216
216
|
<div class="method-source-code" id="finalize-source">
|
217
|
-
<pre><span class="ruby-comment"># File lib/bauxite/core/logger.rb, line
|
217
|
+
<pre><span class="ruby-comment"># File lib/bauxite/core/logger.rb, line 166</span>
|
218
218
|
<span class="ruby-keyword">def</span> <span class="ruby-identifier">finalize</span>(<span class="ruby-identifier">ctx</span>)
|
219
219
|
<span class="ruby-keyword">end</span></pre>
|
220
220
|
</div>
|
@@ -287,6 +287,7 @@ implementation see the <a href="HtmlLogger.html">HtmlLogger</a> class.</p>
|
|
287
287
|
<span class="ruby-identifier">ret</span> = <span class="ruby-keyword">yield</span> <span class="ruby-operator">||</span> <span class="ruby-keyword">false</span>
|
288
288
|
<span class="ruby-identifier">etime</span> = <span class="ruby-constant">Time</span>.<span class="ruby-identifier">new</span>
|
289
289
|
<span class="ruby-keyword">ensure</span>
|
290
|
+
<span class="ruby-identifier">etime</span> <span class="ruby-operator">||=</span> <span class="ruby-constant">Time</span>.<span class="ruby-identifier">new</span>
|
290
291
|
<span class="ruby-identifier">status</span> = <span class="ruby-keyword">case</span> <span class="ruby-identifier">ret</span>; <span class="ruby-keyword">when</span> <span class="ruby-keyword">nil</span>; <span class="ruby-value">:error</span>; <span class="ruby-keyword">when</span> <span class="ruby-keyword">false</span>; <span class="ruby-value">:skip</span>; <span class="ruby-keyword">else</span> <span class="ruby-value">:ok</span>; <span class="ruby-keyword">end</span>
|
291
292
|
|
292
293
|
<span class="ruby-identifier">test_name</span> = <span class="ruby-identifier">action</span>.<span class="ruby-identifier">ctx</span>.<span class="ruby-identifier">variables</span>[<span class="ruby-string">'__TEST__'</span>] <span class="ruby-operator">||</span> <span class="ruby-string">'Main'</span>
|
data/doc/README_md.html
CHANGED
@@ -63,6 +63,7 @@
|
|
63
63
|
<li><a href="#label-Hello+World">Hello World</a>
|
64
64
|
<li><a href="#label-Command-line+Interface">Command-line Interface</a>
|
65
65
|
<li><a href="#label-The+Bauxite+Language">The Bauxite Language</a>
|
66
|
+
<li><a href="#label-Firefox+add-on">Firefox add-on</a>
|
66
67
|
<li><a href="#label-Installing+Ruby">Installing Ruby</a>
|
67
68
|
<li><a href="#label-Implementation">Implementation</a>
|
68
69
|
<li><a href="#label-Extending+Bauxite">Extending Bauxite</a>
|
@@ -140,6 +141,12 @@ href="http://www.mozilla.org">Firefox</a> (unless you want to use other
|
|
140
141
|
browsers or Selenium server by specifying the <code>-p</code> switch to the
|
141
142
|
<code>bauxite</code> executable).</p>
|
142
143
|
|
144
|
+
<p>You might also like to try the <a
|
145
|
+
href="https://github.com/pzavolinsky/bauxite-capture">bauxite-capture</a>
|
146
|
+
Firefox add-on to record <a href="Bauxite.html">Bauxite</a> tests directly
|
147
|
+
from the browser (please note that this extension is still <em>very</em>
|
148
|
+
experimental so its not yet hosted in the Mozilla add-ons page).</p>
|
149
|
+
|
143
150
|
<h2 id="label-Hello+World">Hello World<span><a href="#label-Hello+World">¶</a> <a href="#documentation">↑</a></span></h2>
|
144
151
|
|
145
152
|
<p>Paste the following text into <code>hello.bxt</code>:</p>
|
@@ -247,6 +254,15 @@ href="http://pzavolinsky.github.io/bauxite/Bauxite/Selector.html">Creating
|
|
247
254
|
new Selectors</a></p>
|
248
255
|
</li></ul>
|
249
256
|
|
257
|
+
<h2 id="label-Firefox+add-on">Firefox add-on<span><a href="#label-Firefox+add-on">¶</a> <a href="#documentation">↑</a></span></h2>
|
258
|
+
|
259
|
+
<p>As an alternative method of writing <a href="Bauxite.html">Bauxite</a>
|
260
|
+
tests, you might try the <a
|
261
|
+
href="https://github.com/pzavolinsky/bauxite-capture">bauxite-capture</a>
|
262
|
+
Firefox add-on to record <a href="Bauxite.html">Bauxite</a> tests directly
|
263
|
+
from the browser (please note that this extension is still <em>very</em>
|
264
|
+
experimental so its not yet hosted in the Mozilla add-ons page).</p>
|
265
|
+
|
250
266
|
<h2 id="label-Installing+Ruby">Installing Ruby<span><a href="#label-Installing+Ruby">¶</a> <a href="#documentation">↑</a></span></h2>
|
251
267
|
|
252
268
|
<p>I won't cover all the details of installing Ruby on your system (Google
|
data/doc/created.rid
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
|
2
|
-
README.md
|
1
|
+
Wed, 31 Dec 2014 18:36:22 -0300
|
2
|
+
README.md Sun, 28 Dec 2014 11:09:54 -0300
|
3
3
|
lib/bauxite/selectors/smart.rb Wed, 26 Mar 2014 13:39:30 -0300
|
4
|
-
lib/bauxite/selectors/json.rb Sun, 28 Dec 2014
|
4
|
+
lib/bauxite/selectors/json.rb Sun, 28 Dec 2014 11:09:54 -0300
|
5
5
|
lib/bauxite/selectors/attr.rb Wed, 26 Mar 2014 13:39:30 -0300
|
6
6
|
lib/bauxite/selectors/frame.rb Wed, 26 Mar 2014 13:39:30 -0300
|
7
7
|
lib/bauxite/selectors/sid.rb Wed, 26 Mar 2014 13:39:30 -0300
|
@@ -24,7 +24,7 @@ lib/bauxite/actions/alias.rb Wed, 26 Mar 2014 13:39:30 -0300
|
|
24
24
|
lib/bauxite/actions/write.rb Wed, 26 Mar 2014 13:39:30 -0300
|
25
25
|
lib/bauxite/actions/dounless.rb Thu, 05 Jun 2014 16:39:48 -0300
|
26
26
|
lib/bauxite/actions/select.rb Wed, 26 Mar 2014 13:39:30 -0300
|
27
|
-
lib/bauxite/actions/failif.rb Sun, 28 Dec 2014
|
27
|
+
lib/bauxite/actions/failif.rb Sun, 28 Dec 2014 11:09:54 -0300
|
28
28
|
lib/bauxite/actions/doif.rb Wed, 26 Mar 2014 13:39:30 -0300
|
29
29
|
lib/bauxite/actions/setif.rb Wed, 26 Mar 2014 13:39:30 -0300
|
30
30
|
lib/bauxite/actions/wait.rb Wed, 26 Mar 2014 13:39:30 -0300
|
@@ -50,7 +50,7 @@ lib/bauxite/actions/tryload.rb Wed, 26 Mar 2014 13:39:30 -0300
|
|
50
50
|
lib/bauxite/actions/source.rb Wed, 26 Mar 2014 13:39:30 -0300
|
51
51
|
lib/bauxite/actions/exit.rb Thu, 29 May 2014 14:43:04 -0300
|
52
52
|
lib/bauxite/application.rb Wed, 26 Mar 2014 13:39:30 -0300
|
53
|
-
lib/bauxite/core/logger.rb Wed,
|
53
|
+
lib/bauxite/core/logger.rb Wed, 31 Dec 2014 18:31:46 -0300
|
54
54
|
lib/bauxite/core/errors.rb Wed, 26 Mar 2014 13:39:30 -0300
|
55
55
|
lib/bauxite/core/selector.rb Wed, 26 Mar 2014 13:39:30 -0300
|
56
56
|
lib/bauxite/core/action.rb Wed, 26 Mar 2014 13:39:30 -0300
|
data/doc/index.html
CHANGED
@@ -174,6 +174,12 @@ href="http://www.mozilla.org">Firefox</a> (unless you want to use other
|
|
174
174
|
browsers or Selenium server by specifying the <code>-p</code> switch to the
|
175
175
|
<code>bauxite</code> executable).</p>
|
176
176
|
|
177
|
+
<p>You might also like to try the <a
|
178
|
+
href="https://github.com/pzavolinsky/bauxite-capture">bauxite-capture</a>
|
179
|
+
Firefox add-on to record <a href="Bauxite.html">Bauxite</a> tests directly
|
180
|
+
from the browser (please note that this extension is still <em>very</em>
|
181
|
+
experimental so its not yet hosted in the Mozilla add-ons page).</p>
|
182
|
+
|
177
183
|
<h2 id="label-Hello+World">Hello World<span><a href="#label-Hello+World">¶</a> <a href="#documentation">↑</a></span></h2>
|
178
184
|
|
179
185
|
<p>Paste the following text into <code>hello.bxt</code>:</p>
|
@@ -281,6 +287,15 @@ href="http://pzavolinsky.github.io/bauxite/Bauxite/Selector.html">Creating
|
|
281
287
|
new Selectors</a></p>
|
282
288
|
</li></ul>
|
283
289
|
|
290
|
+
<h2 id="label-Firefox+add-on">Firefox add-on<span><a href="#label-Firefox+add-on">¶</a> <a href="#documentation">↑</a></span></h2>
|
291
|
+
|
292
|
+
<p>As an alternative method of writing <a href="Bauxite.html">Bauxite</a>
|
293
|
+
tests, you might try the <a
|
294
|
+
href="https://github.com/pzavolinsky/bauxite-capture">bauxite-capture</a>
|
295
|
+
Firefox add-on to record <a href="Bauxite.html">Bauxite</a> tests directly
|
296
|
+
from the browser (please note that this extension is still <em>very</em>
|
297
|
+
experimental so its not yet hosted in the Mozilla add-ons page).</p>
|
298
|
+
|
284
299
|
<h2 id="label-Installing+Ruby">Installing Ruby<span><a href="#label-Installing+Ruby">¶</a> <a href="#documentation">↑</a></span></h2>
|
285
300
|
|
286
301
|
<p>I won't cover all the details of installing Ruby on your system (Google
|
data/doc/table_of_contents.html
CHANGED
@@ -36,6 +36,7 @@
|
|
36
36
|
<li><a href="README_md.html#label-Hello+World">Hello World</a>
|
37
37
|
<li><a href="README_md.html#label-Command-line+Interface">Command-line Interface</a>
|
38
38
|
<li><a href="README_md.html#label-The+Bauxite+Language">The Bauxite Language</a>
|
39
|
+
<li><a href="README_md.html#label-Firefox+add-on">Firefox add-on</a>
|
39
40
|
<li><a href="README_md.html#label-Installing+Ruby">Installing Ruby</a>
|
40
41
|
<li><a href="README_md.html#label-Implementation">Implementation</a>
|
41
42
|
<li><a href="README_md.html#label-Extending+Bauxite">Extending Bauxite</a>
|
data/lib/bauxite/core/logger.rb
CHANGED
data/lib/bauxite.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bauxite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patricio Zavolinsky
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: selenium-webdriver
|