polonium 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +1 -0
- data/Rakefile +1 -1
- data/lib/polonium/adapters/rspec.rb +21 -0
- data/lib/polonium/{extensions/testrunnermediator.rb → adapters/test_unit.rb} +1 -1
- data/lib/polonium/configuration.rb +35 -33
- data/lib/polonium/dsl/selenium_dsl.rb +6 -3
- data/lib/polonium/dsl/test_unit_dsl.rb +4 -1
- data/lib/polonium/element.rb +13 -12
- data/lib/polonium/page.rb +14 -4
- data/lib/polonium/test_case.rb +3 -37
- data/lib/polonium/values_match.rb +9 -0
- data/lib/polonium.rb +6 -1
- data/spec/main_spec_suite.rb +11 -0
- data/spec/polonium/{selenium_configuration_spec.rb → configuration_spec.rb} +0 -0
- data/spec/polonium/{selenium_driver_spec.rb → driver_spec.rb} +0 -0
- data/spec/polonium/element_spec.rb +601 -0
- data/spec/polonium/{selenium_page_spec.rb → page_spec.rb} +95 -60
- data/spec/polonium/{selenium_server_runner_spec.rb → server_runner_spec.rb} +0 -0
- data/spec/polonium/test_case_class_method_spec.rb +14 -0
- data/spec/polonium/{selenium_test_case_spec.rb → test_case_spec.rb} +16 -7
- data/spec/polonium/{selenium_test_case_spec_helper.rb → test_case_spec_helper.rb} +1 -1
- data/spec/polonium/values_match_spec.rb +30 -0
- data/spec/rspec/options_spec.rb +30 -0
- data/spec/rspec/rspec_spec_helper.rb +1 -0
- data/spec/rspec_spec_suite.rb +11 -0
- data/spec/spec_helper.rb +2 -2
- data/spec/spec_suite.rb +17 -4
- data/spec/test_unit/test_unit_spec_helper.rb +1 -0
- data/spec/{polonium/extensions → test_unit}/testrunnermediator_spec.rb +1 -1
- data/spec/test_unit_spec_suite.rb +11 -0
- metadata +21 -12
- data/spec/polonium/selenium_element_spec.rb +0 -551
- data/spec/polonium/selenium_test_case_class_method_spec.rb +0 -41
@@ -3,10 +3,11 @@ require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
3
3
|
module Polonium
|
4
4
|
describe Page, :shared => true do
|
5
5
|
it_should_behave_like "Selenium"
|
6
|
-
include
|
7
|
-
attr_reader :driver
|
6
|
+
include TestCaseSpecHelper
|
7
|
+
attr_reader :driver, :page, :element_locator
|
8
8
|
|
9
9
|
before do
|
10
|
+
@element_locator = "xpath=//body"
|
10
11
|
@driver = ::Polonium::Driver.new('http://test.host', 4000, "*firefox", 'http://test.host')
|
11
12
|
@page = Page.new(driver)
|
12
13
|
page_loaded
|
@@ -25,7 +26,7 @@ module Polonium
|
|
25
26
|
it_should_behave_like "Polonium::Page"
|
26
27
|
|
27
28
|
it "sets the selenium object" do
|
28
|
-
|
29
|
+
page.driver.should == driver
|
29
30
|
end
|
30
31
|
end
|
31
32
|
|
@@ -35,20 +36,20 @@ module Polonium
|
|
35
36
|
it "opens the url and waits for the page to load" do
|
36
37
|
mock(driver) do |m|
|
37
38
|
m.do_command("open", ["/users/list"]) {result}
|
38
|
-
m.do_command("waitForPageToLoad", [
|
39
|
+
m.do_command("waitForPageToLoad", [page.default_timeout]) do
|
39
40
|
result
|
40
41
|
end
|
41
42
|
m.do_command("getTitle", []) do
|
42
43
|
result("Users in the project")
|
43
44
|
end
|
44
45
|
end
|
45
|
-
|
46
|
+
page.open_and_wait("/users/list")
|
46
47
|
end
|
47
48
|
|
48
49
|
it "fails when title contains 'Exception caught'" do
|
49
50
|
mock(driver) do |m|
|
50
51
|
m.do_command("open", ["/users/list"]) {result}
|
51
|
-
m.do_command("waitForPageToLoad", [
|
52
|
+
m.do_command("waitForPageToLoad", [page.default_timeout]) do
|
52
53
|
result
|
53
54
|
end
|
54
55
|
m.do_command("getTitle", []) do
|
@@ -59,12 +60,12 @@ module Polonium
|
|
59
60
|
end
|
60
61
|
end
|
61
62
|
proc do
|
62
|
-
|
63
|
+
page.open_and_wait("/users/list")
|
63
64
|
end.should raise_error(Test::Unit::AssertionFailedError)
|
64
65
|
end
|
65
66
|
end
|
66
67
|
|
67
|
-
describe Page, "#
|
68
|
+
describe Page, "#assert_title" do
|
68
69
|
it_should_behave_like "Polonium::Page"
|
69
70
|
|
70
71
|
it "passes when title is expected" do
|
@@ -72,13 +73,17 @@ module Polonium
|
|
72
73
|
mock(driver).get_title do
|
73
74
|
ticks.shift
|
74
75
|
end.times(4)
|
75
|
-
|
76
|
+
mock.proxy(page).values_match?(/no page|my page/, "my page").times(4)
|
77
|
+
|
78
|
+
page.assert_title("my page")
|
76
79
|
end
|
77
80
|
|
78
81
|
it "fails when element is not present" do
|
79
82
|
stub(driver).get_title {"no page"}
|
83
|
+
mock.proxy(page).values_match?("no page", "my page").times(4)
|
84
|
+
|
80
85
|
proc do
|
81
|
-
|
86
|
+
page.assert_title("my page")
|
82
87
|
end.should raise_error("Expected title 'my page' but was 'no page' (after 5 sec)")
|
83
88
|
end
|
84
89
|
end
|
@@ -88,37 +93,56 @@ module Polonium
|
|
88
93
|
|
89
94
|
it "returns true when passed in title is the page title" do
|
90
95
|
mock(driver).get_title {"my page"}
|
91
|
-
|
96
|
+
page.title.should == "my page"
|
92
97
|
end
|
93
98
|
|
94
99
|
it "returns false when passed in title is not the page title" do
|
95
100
|
mock(driver).get_title {"no page"}
|
96
|
-
|
101
|
+
page.title.should_not == "my page"
|
97
102
|
end
|
98
103
|
end
|
99
104
|
|
100
105
|
describe Page, "#assert_text_present" do
|
101
106
|
it_should_behave_like "Polonium::Page"
|
102
107
|
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
108
|
+
describe "when passed a String" do
|
109
|
+
it "passes when page contains expected text" do
|
110
|
+
get_text_ticks = [false, false, false, true]
|
111
|
+
mock(driver).is_text_present("three") {get_text_ticks.shift}.times(4)
|
112
|
+
|
113
|
+
page.assert_text_present("three")
|
114
|
+
end
|
115
|
+
|
116
|
+
it "fails when page does not contain expected text" do
|
117
|
+
mock(driver).is_text_present("nowhere") {false}.times(4)
|
118
|
+
|
119
|
+
lambda do
|
120
|
+
page.assert_text_present("nowhere")
|
121
|
+
end.should raise_error(Test::Unit::AssertionFailedError)
|
122
|
+
end
|
109
123
|
end
|
110
124
|
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
125
|
+
describe "when passed a Regexp" do
|
126
|
+
it "passes when page contains expected text" do
|
127
|
+
get_text_ticks = [false, false, false, true]
|
128
|
+
mock(driver).is_text_present("regexp:three") {get_text_ticks.shift}.times(4)
|
129
|
+
|
130
|
+
page.assert_text_present(/three/)
|
131
|
+
end
|
132
|
+
|
133
|
+
it "fails when page does not contain expected text" do
|
134
|
+
mock(driver).is_text_present("regexp:nowhere") {false}.times(4)
|
135
|
+
|
136
|
+
lambda do
|
137
|
+
page.assert_text_present(/nowhere/)
|
138
|
+
end.should raise_error(Test::Unit::AssertionFailedError)
|
139
|
+
end
|
116
140
|
end
|
117
141
|
|
118
|
-
it "fails when
|
119
|
-
|
142
|
+
it "fails when page is not loaded" do
|
143
|
+
page_not_loaded
|
120
144
|
proc do
|
121
|
-
|
145
|
+
page.assert_text_present("my page")
|
122
146
|
end.should raise_error("Expected 'my page' to be present, but it wasn't (after 5 sec)")
|
123
147
|
end
|
124
148
|
end
|
@@ -126,40 +150,51 @@ module Polonium
|
|
126
150
|
describe Page, "#is_text_present?" do
|
127
151
|
it_should_behave_like "Polonium::Page"
|
128
152
|
|
129
|
-
it "returns true when
|
153
|
+
it "returns true when text is present" do
|
130
154
|
mock(driver).is_text_present("my page") {true}
|
131
|
-
|
132
|
-
end
|
133
|
-
|
134
|
-
it "fails when element is not present" do
|
135
|
-
mock(driver).is_text_present("my page") {false}
|
136
|
-
@page.is_text_present?("my page").should be_false
|
155
|
+
page.is_text_present?("my page").should be_true
|
137
156
|
end
|
138
157
|
end
|
139
158
|
|
140
|
-
describe Page, "#
|
159
|
+
describe Page, "#assert_text_not_present" do
|
141
160
|
it_should_behave_like "Polonium::Page"
|
142
161
|
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
end
|
148
|
-
|
162
|
+
describe "when passed a String" do
|
163
|
+
it "passes when page does not contain expected text" do
|
164
|
+
mock(driver).is_text_present("match") {false}
|
165
|
+
page.assert_text_not_present("match")
|
166
|
+
end
|
167
|
+
|
168
|
+
it "fails when page contains expected text for the entire wait_for period" do
|
169
|
+
mock(driver).is_text_present("match") {true}.times(4)
|
170
|
+
|
171
|
+
lambda do
|
172
|
+
page.assert_text_not_present("match")
|
173
|
+
end.should raise_error(Test::Unit::AssertionFailedError)
|
174
|
+
end
|
149
175
|
end
|
150
176
|
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
177
|
+
describe "when passed a Regexp" do
|
178
|
+
it "passes when page does not contain expected text" do
|
179
|
+
ticks = [true, true, true, false]
|
180
|
+
mock(driver).is_text_present("regexp:match") {ticks.shift}.times(4)
|
181
|
+
page.assert_text_not_present(/match/)
|
182
|
+
end
|
183
|
+
|
184
|
+
it "fails when page does contains expected text for the entire polling period" do
|
185
|
+
mock(driver).is_text_present("regexp:match") {true}.times(4)
|
186
|
+
|
187
|
+
lambda do
|
188
|
+
page.assert_text_not_present(/match/)
|
189
|
+
end.should raise_error(Test::Unit::AssertionFailedError)
|
190
|
+
end
|
156
191
|
end
|
157
192
|
|
158
|
-
it "fails when
|
159
|
-
|
193
|
+
it "fails when page is not loaded" do
|
194
|
+
page_not_loaded
|
160
195
|
proc do
|
161
|
-
|
162
|
-
end.should raise_error("Expected 'my page' to be
|
196
|
+
page.assert_text_present("my page")
|
197
|
+
end.should raise_error("Expected 'my page' to be present, but it wasn't (after 5 sec)")
|
163
198
|
end
|
164
199
|
end
|
165
200
|
|
@@ -167,13 +202,13 @@ module Polonium
|
|
167
202
|
it_should_behave_like "Polonium::Page"
|
168
203
|
|
169
204
|
it "returns true when text is not present" do
|
170
|
-
mock(driver).is_text_present("
|
171
|
-
|
205
|
+
mock(driver).is_text_present("your page") {false}
|
206
|
+
page.is_text_not_present?("your page").should be_true
|
172
207
|
end
|
173
208
|
|
174
209
|
it "returns false when text is present" do
|
175
210
|
mock(driver).is_text_present("my page") {true}
|
176
|
-
|
211
|
+
page.is_text_not_present?("my page").should be_false
|
177
212
|
end
|
178
213
|
end
|
179
214
|
|
@@ -194,13 +229,13 @@ module Polonium
|
|
194
229
|
mock(driver).get_location do
|
195
230
|
ticks.shift
|
196
231
|
end.times(4)
|
197
|
-
|
232
|
+
page.assert_location_ends_with(@ends_with)
|
198
233
|
end
|
199
234
|
|
200
235
|
it "fails when element is not present" do
|
201
236
|
stub(driver).get_location {"http://no.com"}
|
202
237
|
proc do
|
203
|
-
|
238
|
+
page.assert_location_ends_with(@ends_with)
|
204
239
|
end.should raise_error("Expected 'http://no.com' to end with '#{@ends_with}' (after 5 sec)")
|
205
240
|
end
|
206
241
|
end
|
@@ -214,12 +249,12 @@ module Polonium
|
|
214
249
|
|
215
250
|
it "passes when title is expected" do
|
216
251
|
mock(driver).get_location {"http://foobar.com?arg1=2"}
|
217
|
-
|
252
|
+
page.location_ends_with?(@ends_with).should be_true
|
218
253
|
end
|
219
254
|
|
220
255
|
it "fails when element is not present" do
|
221
256
|
mock(driver).get_location {"http://no.com"}
|
222
|
-
|
257
|
+
page.location_ends_with?(@ends_with).should be_false
|
223
258
|
end
|
224
259
|
end
|
225
260
|
|
@@ -228,12 +263,12 @@ module Polonium
|
|
228
263
|
|
229
264
|
it "when page loaded command returns 'true', returns true" do
|
230
265
|
page_loaded
|
231
|
-
|
266
|
+
page.should be_page_loaded
|
232
267
|
end
|
233
268
|
|
234
269
|
it "when page loaded command returns 'false', returns false" do
|
235
270
|
page_not_loaded
|
236
|
-
|
271
|
+
page.should_not be_page_loaded
|
237
272
|
end
|
238
273
|
end
|
239
274
|
|
@@ -241,9 +276,9 @@ module Polonium
|
|
241
276
|
it_should_behave_like "Polonium::Page"
|
242
277
|
|
243
278
|
it "delegates command to the driver" do
|
244
|
-
|
279
|
+
page.methods.should_not include('get_location')
|
245
280
|
mock(driver).get_location
|
246
|
-
|
281
|
+
page.get_location
|
247
282
|
end
|
248
283
|
end
|
249
284
|
end
|
File without changes
|
@@ -0,0 +1,14 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
2
|
+
|
3
|
+
module Polonium
|
4
|
+
describe TestCase, "Class methods" do
|
5
|
+
include TestCaseSpecHelper
|
6
|
+
it "should not use transactional fixtures by default" do
|
7
|
+
Polonium::TestCase.use_transactional_fixtures.should == false
|
8
|
+
end
|
9
|
+
|
10
|
+
it "should use instantiated fixtures by default" do
|
11
|
+
Polonium::TestCase.use_instantiated_fixtures.should == true
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
@@ -3,12 +3,12 @@ require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
|
3
3
|
module Polonium
|
4
4
|
describe TestCase, :shared => true do
|
5
5
|
it_should_behave_like "Selenium"
|
6
|
-
include
|
6
|
+
include TestCaseSpecHelper
|
7
7
|
attr_reader :driver, :test_case, :configuration
|
8
8
|
|
9
9
|
before(:each) do
|
10
10
|
stub_selenium_configuration
|
11
|
-
@test_case =
|
11
|
+
@test_case = TestCaseSpecHelper::MySeleniumTestCase.new
|
12
12
|
@driver = ::Polonium::Driver.new('http://test.host', 4000, "*firefox", 'http://test.host')
|
13
13
|
test_case.selenium_driver = driver
|
14
14
|
stub(driver).do_command("getEval", [Page::PAGE_LOADED_COMMAND]) do
|
@@ -390,7 +390,7 @@ module Polonium
|
|
390
390
|
|
391
391
|
before do
|
392
392
|
mock.proxy(Element).new(driver, sample_locator) do |element|
|
393
|
-
mock.proxy(element).assert_attribute("passed in value")
|
393
|
+
mock.proxy(element).assert_attribute('id', "passed in value")
|
394
394
|
element
|
395
395
|
end
|
396
396
|
end
|
@@ -398,18 +398,18 @@ module Polonium
|
|
398
398
|
it "passes when attribute is expected" do
|
399
399
|
mock(driver) do |o|
|
400
400
|
o.is_element_present(sample_locator) {true}
|
401
|
-
o.get_attribute(sample_locator) {"passed in value"}
|
401
|
+
o.get_attribute("#{sample_locator}@id") {"passed in value"}
|
402
402
|
end
|
403
|
-
test_case.assert_attribute(sample_locator, "passed in value")
|
403
|
+
test_case.assert_attribute(sample_locator, 'id', "passed in value")
|
404
404
|
end
|
405
405
|
|
406
406
|
it "fails when attribute is not expected" do
|
407
407
|
stub(driver) do |o|
|
408
408
|
o.is_element_present(sample_locator) {true}
|
409
|
-
o.get_attribute(sample_locator) {"another value"}
|
409
|
+
o.get_attribute("#{sample_locator}@id") {"another value"}
|
410
410
|
end
|
411
411
|
proc do
|
412
|
-
test_case.assert_attribute(sample_locator, "passed in value")
|
412
|
+
test_case.assert_attribute(sample_locator, 'id', "passed in value")
|
413
413
|
end.should raise_error(Test::Unit::AssertionFailedError)
|
414
414
|
end
|
415
415
|
end
|
@@ -753,6 +753,15 @@ module Polonium
|
|
753
753
|
end
|
754
754
|
end
|
755
755
|
|
756
|
+
describe TestCase, "#get_eval" do
|
757
|
+
it_should_behave_like "Polonium::TestCase"
|
758
|
+
|
759
|
+
it "delegates to Driver" do
|
760
|
+
mock(driver).get_eval "foobar"
|
761
|
+
test_case.get_eval "foobar"
|
762
|
+
end
|
763
|
+
end
|
764
|
+
|
756
765
|
describe "TestCase in test browser mode and test fails" do
|
757
766
|
it_should_behave_like "Polonium::TestCase"
|
758
767
|
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
2
|
+
|
3
|
+
module Polonium
|
4
|
+
describe "ValuesMatch" do
|
5
|
+
attr_reader :fixture
|
6
|
+
|
7
|
+
before do
|
8
|
+
@fixture = Object.new
|
9
|
+
fixture.extend ValuesMatch
|
10
|
+
end
|
11
|
+
|
12
|
+
describe "#values_match?" do
|
13
|
+
it "when passed two matching strings, returns true" do
|
14
|
+
fixture.values_match?("foo", "foo").should be_true
|
15
|
+
end
|
16
|
+
|
17
|
+
it "when passed two unmatching strings, returns true" do
|
18
|
+
fixture.values_match?("foo", "bar").should be_false
|
19
|
+
end
|
20
|
+
|
21
|
+
it "when passed string and matching regexp, returns true" do
|
22
|
+
fixture.values_match?("foo", /o/).should be_true
|
23
|
+
end
|
24
|
+
|
25
|
+
it "when passed string and unmatching regexp, returns true" do
|
26
|
+
fixture.values_match?("foo", /r/).should be_false
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require File.expand_path("#{File.dirname(__FILE__)}/rspec_spec_helper")
|
2
|
+
|
3
|
+
describe Spec::Runner::Options, "#run_example" do
|
4
|
+
attr_reader :configuration, :app_server_runner, :the_rspec_options
|
5
|
+
before do
|
6
|
+
@original_configuration = Polonium::Configuration.instance
|
7
|
+
@configuration = Polonium::Configuration.new
|
8
|
+
@the_rspec_options = Spec::Runner::Options.new(StringIO.new, StringIO.new)
|
9
|
+
|
10
|
+
configuration.app_server_engine = :mongrel
|
11
|
+
@app_server_runner = configuration.create_server_runner
|
12
|
+
|
13
|
+
the_rspec_options.selenium_configuration = configuration
|
14
|
+
the_rspec_options.selenium_app_runner = app_server_runner
|
15
|
+
end
|
16
|
+
|
17
|
+
after do
|
18
|
+
Polonium::Configuration.instance = @original_configuration
|
19
|
+
end
|
20
|
+
|
21
|
+
it "stops the app server app_server_runner when finished" do
|
22
|
+
mock.proxy(app_server_runner).stop
|
23
|
+
the_rspec_options.run_examples
|
24
|
+
end
|
25
|
+
|
26
|
+
it "stops the Selenium driver when finished" do
|
27
|
+
mock.proxy(configuration).stop_driver_if_necessary(true)
|
28
|
+
the_rspec_options.run_examples
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
data/spec/spec_helper.rb
CHANGED
@@ -11,7 +11,7 @@ require "hpricot"
|
|
11
11
|
require 'tempfile'
|
12
12
|
|
13
13
|
require "polonium"
|
14
|
-
require File.dirname(__FILE__) + "/polonium/
|
14
|
+
require File.dirname(__FILE__) + "/polonium/test_case_spec_helper"
|
15
15
|
|
16
16
|
Test::Unit.run = true
|
17
17
|
|
@@ -58,6 +58,6 @@ end
|
|
58
58
|
|
59
59
|
describe "Selenium", :shared => true do
|
60
60
|
def result(response_text=nil)
|
61
|
-
"OK,#{response_text
|
61
|
+
"OK,#{response_text}"
|
62
62
|
end
|
63
63
|
end
|
data/spec/spec_suite.rb
CHANGED
@@ -1,6 +1,19 @@
|
|
1
|
-
|
1
|
+
class SpecSuite
|
2
|
+
def run
|
3
|
+
puts "Running #{self.class}"
|
4
|
+
files.each do |file|
|
5
|
+
require file
|
6
|
+
end
|
7
|
+
end
|
2
8
|
|
3
|
-
|
4
|
-
|
5
|
-
|
9
|
+
def files
|
10
|
+
raise NotImplementedError
|
11
|
+
end
|
6
12
|
end
|
13
|
+
|
14
|
+
if $0 == __FILE__
|
15
|
+
dir = File.dirname(__FILE__)
|
16
|
+
raise "Failure" unless system("ruby #{dir}/main_spec_suite.rb")
|
17
|
+
raise "Failure" unless system("ruby #{dir}/test_unit_spec_suite.rb")
|
18
|
+
raise "Failure" unless system("ruby #{dir}/rspec_spec_suite.rb")
|
19
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper")
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: polonium
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date:
|
6
|
+
version: 0.1.1
|
7
|
+
date: 2008-01-29 00:00:00 -08:00
|
8
8
|
summary: Selenium RC with enhanced assertions that also runs your rails app.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -34,14 +34,16 @@ files:
|
|
34
34
|
- Rakefile
|
35
35
|
- lib/polonium/dsl/selenium_dsl.rb
|
36
36
|
- lib/polonium/dsl/test_unit_dsl.rb
|
37
|
+
- lib/polonium/adapters/test_unit.rb
|
38
|
+
- lib/polonium/adapters/rspec.rb
|
37
39
|
- lib/polonium/element.rb
|
38
40
|
- lib/polonium/mongrel_selenium_server_runner.rb
|
39
|
-
- lib/polonium/extensions/testrunnermediator.rb
|
40
41
|
- lib/polonium/extensions/module.rb
|
41
42
|
- lib/polonium/tasks/selenium_test_task.rb
|
42
43
|
- lib/polonium/page.rb
|
43
44
|
- lib/polonium/driver.rb
|
44
45
|
- lib/polonium/webrick_selenium_server_runner.rb
|
46
|
+
- lib/polonium/values_match.rb
|
45
47
|
- lib/polonium/server_runner.rb
|
46
48
|
- lib/polonium/wait_for.rb
|
47
49
|
- lib/polonium/test_case.rb
|
@@ -49,19 +51,26 @@ files:
|
|
49
51
|
- lib/polonium/selenium_helper.rb
|
50
52
|
- lib/polonium.rb
|
51
53
|
- spec/spec_helper.rb
|
54
|
+
- spec/test_unit_spec_suite.rb
|
55
|
+
- spec/rspec/options_spec.rb
|
56
|
+
- spec/rspec/rspec_spec_helper.rb
|
52
57
|
- spec/spec_suite.rb
|
53
|
-
- spec/
|
54
|
-
- spec/
|
55
|
-
- spec/
|
58
|
+
- spec/main_spec_suite.rb
|
59
|
+
- spec/test_unit/test_unit_spec_helper.rb
|
60
|
+
- spec/test_unit/testrunnermediator_spec.rb
|
61
|
+
- spec/polonium/driver_spec.rb
|
62
|
+
- spec/polonium/server_runner_spec.rb
|
63
|
+
- spec/polonium/test_case_spec_helper.rb
|
64
|
+
- spec/polonium/test_case_spec.rb
|
65
|
+
- spec/polonium/page_spec.rb
|
66
|
+
- spec/polonium/element_spec.rb
|
56
67
|
- spec/polonium/extensions/module_spec.rb
|
57
|
-
- spec/polonium/
|
58
|
-
- spec/polonium/selenium_test_case_spec.rb
|
68
|
+
- spec/polonium/test_case_class_method_spec.rb
|
59
69
|
- spec/polonium/webrick_selenium_server_runner_spec.rb
|
60
|
-
- spec/polonium/
|
61
|
-
- spec/polonium/
|
62
|
-
- spec/polonium/selenium_test_case_class_method_spec.rb
|
63
|
-
- spec/polonium/selenium_driver_spec.rb
|
70
|
+
- spec/polonium/values_match_spec.rb
|
71
|
+
- spec/polonium/configuration_spec.rb
|
64
72
|
- spec/polonium/mongrel_selenium_server_runner_spec.rb
|
73
|
+
- spec/rspec_spec_suite.rb
|
65
74
|
test_files: []
|
66
75
|
|
67
76
|
rdoc_options:
|