acceptance_test 1.1.5 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/.idea/acceptance_test.iml +65 -72
- data/CHANGES +6 -1
- data/Gemfile +6 -6
- data/Gemfile.lock +58 -46
- data/Rakefile +1 -1
- data/lib/acceptance_test.rb +1 -0
- data/lib/acceptance_test/acceptance_shared_context.rb +9 -3
- data/lib/acceptance_test/acceptance_test.rb +26 -34
- data/lib/acceptance_test/version.rb +1 -1
- data/spec/features/acceptance_config.yml +10 -0
- data/spec/features/google_search_spec.rb +3 -4
- data/spec/features/with_selenium_conf_spec.rb +21 -5
- metadata +4 -6
- data/spec/features/features_spec_helper.rb +0 -1
- data/spec/features/selenium.yml +0 -15
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MGE1MDA1NDhlODAwYzhiZjQ2ZDE1MmJjNjUxNjcwZjlmZTA2YTUxNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTk1Y2FmZmU2ZDc4ZTIzNDlhMWI1MDIzZmJlNjU0MzEyMjAyNjlkYQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Y2MzODkwNDQyNzc1MTFmNWZhOTNkYWFlYmE0YTBjOTVlODgxNGFkZjRlZGMx
|
10
|
+
ZDhjOGMzMTc3ZjZmYWNjMDM4ZjY2ZWFmMDBkMTA5ZTFlOWM1YTVlODYwODUw
|
11
|
+
NTYyY2ZlYzdmMzhiMTI3OWFhNTdjZjEzOTVlODdlYTdjZDRjNTY=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGY5NTI0ZjlkM2IwMDY0OWVhYWQ4ZThkZDkzNjFkZjhlYTNkYmNhNTUwMjNk
|
14
|
+
ZWEzYjZhNTk3NGRjNDAyYWU2NzY5NzI4MzU4ODI4NjFiMjA1ZTM4ZDE1ZTM3
|
15
|
+
YzUzNTg4ZWExZDc1N2VjOGExMDlkNDA1NmM3MGUyOWMxZmUzMTg=
|
data/.idea/acceptance_test.iml
CHANGED
@@ -13,7 +13,7 @@
|
|
13
13
|
</facet>
|
14
14
|
</component>
|
15
15
|
<component name="ModuleRunConfigurationManager">
|
16
|
-
<configuration default="false" name="Google Search
|
16
|
+
<configuration default="false" name="Google Search: acceptance_test" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
17
17
|
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
18
18
|
<module name="acceptance_test" />
|
19
19
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<envs>
|
25
25
|
<env name="JRUBY_OPTS" value="-X+O" />
|
26
26
|
</envs>
|
27
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="
|
27
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
28
28
|
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
29
29
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
30
30
|
<COVERAGE_PATTERN ENABLED="true">
|
@@ -33,10 +33,10 @@
|
|
33
33
|
</EXTENSION>
|
34
34
|
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
35
35
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
36
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/features/
|
36
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/features/with_selenium_conf_spec.rb" />
|
37
37
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
38
38
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
39
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Google Search
|
39
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="Google Search" />
|
40
40
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
41
41
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
42
42
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
@@ -45,13 +45,11 @@
|
|
45
45
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
46
46
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
47
47
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
48
|
-
<RunnerSettings RunnerId="RubyDebugRunner" />
|
49
48
|
<RunnerSettings RunnerId="RubyRunner" />
|
50
|
-
<ConfigurationWrapper RunnerId="RubyDebugRunner" />
|
51
49
|
<ConfigurationWrapper RunnerId="RubyRunner" />
|
52
50
|
<method />
|
53
51
|
</configuration>
|
54
|
-
<configuration default="false" name="
|
52
|
+
<configuration default="false" name="google_search_spec" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
55
53
|
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
56
54
|
<module name="acceptance_test" />
|
57
55
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
@@ -74,7 +72,7 @@
|
|
74
72
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/features/google_search_spec.rb" />
|
75
73
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
76
74
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
77
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="
|
75
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
78
76
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
79
77
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
80
78
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
@@ -83,11 +81,45 @@
|
|
83
81
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
84
82
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
85
83
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
84
|
+
<RunnerSettings RunnerId="RubyDebugRunner" />
|
86
85
|
<RunnerSettings RunnerId="RubyRunner" />
|
86
|
+
<ConfigurationWrapper RunnerId="RubyDebugRunner" />
|
87
87
|
<ConfigurationWrapper RunnerId="RubyRunner" />
|
88
88
|
<method />
|
89
89
|
</configuration>
|
90
|
-
<configuration default="false" name="
|
90
|
+
<configuration default="false" name="acceptance_test: acceptance_test" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest" temporary="true">
|
91
|
+
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
92
|
+
<module name="acceptance_test" />
|
93
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
94
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/acceptance_test" />
|
95
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
96
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
97
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
98
|
+
<envs>
|
99
|
+
<env name="JRUBY_OPTS" value="-X+O" />
|
100
|
+
</envs>
|
101
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
102
|
+
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
103
|
+
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
104
|
+
<COVERAGE_PATTERN ENABLED="true">
|
105
|
+
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
106
|
+
</COVERAGE_PATTERN>
|
107
|
+
</EXTENSION>
|
108
|
+
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
109
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
110
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/acceptance_test/acceptance_test.rb" />
|
111
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
112
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
113
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
114
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
115
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
116
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
117
|
+
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
118
|
+
<RunnerSettings RunnerId="RubyRunner" />
|
119
|
+
<ConfigurationWrapper RunnerId="RubyRunner" />
|
120
|
+
<method />
|
121
|
+
</configuration>
|
122
|
+
<configuration default="false" name="Run spec 'with_selenium_conf_spec': acceptance_test" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
91
123
|
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
92
124
|
<module name="acceptance_test" />
|
93
125
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
@@ -98,7 +130,7 @@
|
|
98
130
|
<envs>
|
99
131
|
<env name="JRUBY_OPTS" value="-X+O" />
|
100
132
|
</envs>
|
101
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="
|
133
|
+
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
|
102
134
|
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
103
135
|
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
104
136
|
<COVERAGE_PATTERN ENABLED="true">
|
@@ -110,7 +142,7 @@
|
|
110
142
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/features/with_selenium_conf_spec.rb" />
|
111
143
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
112
144
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
113
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="
|
145
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
114
146
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
115
147
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
116
148
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
@@ -119,11 +151,13 @@
|
|
119
151
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
120
152
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
121
153
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
154
|
+
<RunnerSettings RunnerId="RubyDebugRunner" />
|
122
155
|
<RunnerSettings RunnerId="RubyRunner" />
|
156
|
+
<ConfigurationWrapper RunnerId="RubyDebugRunner" />
|
123
157
|
<ConfigurationWrapper RunnerId="RubyRunner" />
|
124
158
|
<method />
|
125
159
|
</configuration>
|
126
|
-
<configuration default="false" name="
|
160
|
+
<configuration default="false" name=" uses webkit driver: acceptance_test" type="RSpecRunConfigurationType" factoryName="RSpec" temporary="true">
|
127
161
|
<predefined_log_file id="RUBY_RSPEC" enabled="true" />
|
128
162
|
<module name="acceptance_test" />
|
129
163
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
@@ -146,7 +180,7 @@
|
|
146
180
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/spec/features/google_search_spec.rb" />
|
147
181
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_RUNNER_PATH" VALUE="" />
|
148
182
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="**/*_spec.rb" />
|
149
|
-
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE="" />
|
183
|
+
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_EXAMPLE_NAME" VALUE=" uses webkit driver" />
|
150
184
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
151
185
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPEC_ARGS" VALUE="" />
|
152
186
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_VERSION" VALUE="" />
|
@@ -155,39 +189,9 @@
|
|
155
189
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
156
190
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
157
191
|
<RSPEC_RUN_CONFIG_SETTINGS_ID NAME="FULL_BACKTRACE" VALUE="false" />
|
192
|
+
<RunnerSettings RunnerId="RubyDebugRunner" />
|
158
193
|
<RunnerSettings RunnerId="RubyRunner" />
|
159
|
-
<ConfigurationWrapper RunnerId="
|
160
|
-
<method />
|
161
|
-
</configuration>
|
162
|
-
<configuration default="false" name="acceptance_test: acceptance_test" type="TestUnitRunConfigurationType" factoryName="Test::Unit/Shoulda/Minitest" temporary="true">
|
163
|
-
<predefined_log_file id="RUBY_TESTUNIT" enabled="true" />
|
164
|
-
<module name="acceptance_test" />
|
165
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUBY_ARGS" VALUE="-e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift)" />
|
166
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="WORK DIR" VALUE="$MODULE_DIR$/lib/acceptance_test" />
|
167
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SHOULD_USE_SDK" VALUE="false" />
|
168
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ALTERN_SDK_NAME" VALUE="" />
|
169
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="myPassParentEnvs" VALUE="true" />
|
170
|
-
<envs>
|
171
|
-
<env name="JRUBY_OPTS" value="-X+O" />
|
172
|
-
</envs>
|
173
|
-
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="false" />
|
174
|
-
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
|
175
|
-
<EXTENSION ID="RubyCoverageRunConfigurationExtension" enabled="false" sample_coverage="true" track_test_folders="true" runner="rcov">
|
176
|
-
<COVERAGE_PATTERN ENABLED="true">
|
177
|
-
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
|
178
|
-
</COVERAGE_PATTERN>
|
179
|
-
</EXTENSION>
|
180
|
-
<EXTENSION ID="org.jetbrains.plugins.ruby.motion.run.MotionSimulatorRunExtension" />
|
181
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TESTS_FOLDER_PATH" VALUE="" />
|
182
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_SCRIPT_PATH" VALUE="$MODULE_DIR$/lib/acceptance_test/acceptance_test.rb" />
|
183
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_FILE_MASK" VALUE="" />
|
184
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_METHOD_NAME" VALUE="" />
|
185
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="TEST_TEST_TYPE" VALUE="TEST_SCRIPT" />
|
186
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="DRB" VALUE="false" />
|
187
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="ZEUS" VALUE="false" />
|
188
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="SPRING" VALUE="false" />
|
189
|
-
<RTEST_RUN_CONFIG_SETTINGS_ID NAME="RUNNER_OPTIONS" VALUE="" />
|
190
|
-
<RunnerSettings RunnerId="RubyRunner" />
|
194
|
+
<ConfigurationWrapper RunnerId="RubyDebugRunner" />
|
191
195
|
<ConfigurationWrapper RunnerId="RubyRunner" />
|
192
196
|
<method />
|
193
197
|
</configuration>
|
@@ -196,41 +200,30 @@
|
|
196
200
|
<content url="file://$MODULE_DIR$" />
|
197
201
|
<orderEntry type="jdk" jdkName="RVM: ruby-1.9.3-p547 [acceptance_test]" jdkType="RUBY_SDK" />
|
198
202
|
<orderEntry type="sourceFolder" forTests="false" />
|
199
|
-
<orderEntry type="library" scope="PROVIDED" name="activesupport (v3.2.14, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
200
203
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.7.2, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
201
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
202
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
203
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
204
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
205
|
-
<orderEntry type="library" scope="PROVIDED" name="cliver (v0.2.1, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
206
|
-
<orderEntry type="library" scope="PROVIDED" name="debugger-ruby_core_source (v1.2.3, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
207
|
-
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.4, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
208
|
-
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.9.0, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
204
|
+
<orderEntry type="library" scope="PROVIDED" name="childprocess (v0.5.3, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
205
|
+
<orderEntry type="library" scope="PROVIDED" name="cliver (v0.3.2, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
206
|
+
<orderEntry type="library" scope="PROVIDED" name="diff-lcs (v1.2.5, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
207
|
+
<orderEntry type="library" scope="PROVIDED" name="ffi (v1.9.3, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
209
208
|
<orderEntry type="library" scope="PROVIDED" name="file_utils (v1.0.7, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
210
209
|
<orderEntry type="library" scope="PROVIDED" name="gemcutter (v0.7.1, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
211
210
|
<orderEntry type="library" scope="PROVIDED" name="gemspec_deps_gen (v1.1.2, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
212
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
213
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
214
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
215
|
-
<orderEntry type="library" scope="PROVIDED" name="mime-types (v1.25, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
216
|
-
<orderEntry type="library" scope="PROVIDED" name="mini_portile (v0.5.1, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
217
|
-
<orderEntry type="library" scope="PROVIDED" name="mocha (v0.14.0, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
218
|
-
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.8.0, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
219
|
-
<orderEntry type="library" scope="PROVIDED" name="nokogiri (v1.6.0, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
220
|
-
<orderEntry type="library" scope="PROVIDED" name="poltergeist (v1.4.1, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
211
|
+
<orderEntry type="library" scope="PROVIDED" name="json (v1.8.1, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
212
|
+
<orderEntry type="library" scope="PROVIDED" name="metaclass (v0.0.4, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
213
|
+
<orderEntry type="library" scope="PROVIDED" name="multi_json (v1.10.1, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
221
214
|
<orderEntry type="library" scope="PROVIDED" name="rack (v1.5.2, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
222
215
|
<orderEntry type="library" scope="PROVIDED" name="rack-test (v0.6.2, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
223
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
224
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec (
|
225
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-
|
226
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-
|
227
|
-
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v2.14.3, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
216
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-core (v3.1.3, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
217
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-expectations (v3.1.1, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
218
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-mocks (v3.1.0, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
219
|
+
<orderEntry type="library" scope="PROVIDED" name="rspec-support (v3.1.0, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
228
220
|
<orderEntry type="library" scope="PROVIDED" name="ruby-debug-base19x (v0.11.30.pre12, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
229
221
|
<orderEntry type="library" scope="PROVIDED" name="ruby-debug-ide (v0.4.17, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
230
|
-
<orderEntry type="library" scope="PROVIDED" name="rubyzip (
|
231
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
232
|
-
<orderEntry type="library" scope="PROVIDED" name="
|
233
|
-
<orderEntry type="library" scope="PROVIDED" name="websocket
|
222
|
+
<orderEntry type="library" scope="PROVIDED" name="rubyzip (v1.1.6, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
223
|
+
<orderEntry type="library" scope="PROVIDED" name="thread_safe (v0.3.4, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
224
|
+
<orderEntry type="library" scope="PROVIDED" name="tzinfo (v1.2.2, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
225
|
+
<orderEntry type="library" scope="PROVIDED" name="websocket (v1.2.1, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
226
|
+
<orderEntry type="library" scope="PROVIDED" name="websocket-driver (v0.3.4, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
234
227
|
<orderEntry type="library" scope="PROVIDED" name="xpath (v2.0.0, RVM: ruby-1.9.3-p547 [acceptance_test]) [gem]" level="application" />
|
235
228
|
</component>
|
236
229
|
</module>
|
data/CHANGES
CHANGED
data/Gemfile
CHANGED
@@ -11,13 +11,13 @@ group :test do
|
|
11
11
|
end
|
12
12
|
|
13
13
|
group :acceptance_test do
|
14
|
-
gem "activesupport", "~>
|
15
|
-
gem "capybara", "2.1
|
16
|
-
gem "capybara-firebug"
|
14
|
+
gem "activesupport", "~> 4.1.6"
|
15
|
+
gem "capybara", "~> 2.4.1"
|
16
|
+
gem "capybara-firebug", "~> 2.1.0"
|
17
|
+
gem "selenium-webdriver", "~> 2.43.0"
|
17
18
|
|
18
|
-
gem "
|
19
|
+
gem "capybara-webkit", "~> 1.3.0"
|
19
20
|
|
20
|
-
gem "capybara-webkit", "1.0.0"
|
21
21
|
# Note: You need to install qt:
|
22
22
|
# Mac: brew install qt
|
23
23
|
# Ubuntu: sudo apt-get install libqt4-dev libqtwebkit-dev
|
@@ -25,7 +25,7 @@ group :acceptance_test do
|
|
25
25
|
# Fedora: yum install qt-webkit-devell
|
26
26
|
|
27
27
|
# brew install phantomjs
|
28
|
-
gem "poltergeist"
|
28
|
+
gem "poltergeist", "~> 1.5.1"
|
29
29
|
end
|
30
30
|
|
31
31
|
group :debug do
|
data/Gemfile.lock
CHANGED
@@ -1,71 +1,83 @@
|
|
1
1
|
GEM
|
2
2
|
remote: https://rubygems.org/
|
3
3
|
specs:
|
4
|
-
activesupport (
|
5
|
-
i18n (~> 0.6, >= 0.6.
|
6
|
-
|
7
|
-
|
4
|
+
activesupport (4.1.6)
|
5
|
+
i18n (~> 0.6, >= 0.6.9)
|
6
|
+
json (~> 1.7, >= 1.7.7)
|
7
|
+
minitest (~> 5.1)
|
8
|
+
thread_safe (~> 0.1)
|
9
|
+
tzinfo (~> 1.1)
|
10
|
+
capybara (2.4.1)
|
8
11
|
mime-types (>= 1.16)
|
9
12
|
nokogiri (>= 1.3.3)
|
10
13
|
rack (>= 1.0.0)
|
11
14
|
rack-test (>= 0.5.4)
|
12
15
|
xpath (~> 2.0)
|
13
|
-
capybara-firebug (1.
|
16
|
+
capybara-firebug (2.1.0)
|
14
17
|
capybara (>= 1.0, < 3.0)
|
15
|
-
|
16
|
-
|
18
|
+
selenium-webdriver
|
19
|
+
capybara-webkit (1.3.0)
|
20
|
+
capybara (>= 2.0.2, < 2.5.0)
|
17
21
|
json
|
18
|
-
childprocess (0.3
|
22
|
+
childprocess (0.5.3)
|
19
23
|
ffi (~> 1.0, >= 1.0.11)
|
20
|
-
cliver (0.2
|
21
|
-
debugger-ruby_core_source (1.
|
22
|
-
diff-lcs (1.2.
|
23
|
-
ffi (1.9.
|
24
|
+
cliver (0.3.2)
|
25
|
+
debugger-ruby_core_source (1.3.5)
|
26
|
+
diff-lcs (1.2.5)
|
27
|
+
ffi (1.9.3)
|
24
28
|
file_utils (1.0.7)
|
25
29
|
gemcutter (0.7.1)
|
26
30
|
gemspec_deps_gen (1.1.2)
|
27
31
|
bundler
|
28
32
|
file_utils
|
29
|
-
i18n (0.6.
|
30
|
-
json (1.8.
|
31
|
-
metaclass (0.0.
|
32
|
-
mime-types (
|
33
|
-
mini_portile (0.
|
34
|
-
|
33
|
+
i18n (0.6.11)
|
34
|
+
json (1.8.1)
|
35
|
+
metaclass (0.0.4)
|
36
|
+
mime-types (2.3)
|
37
|
+
mini_portile (0.6.0)
|
38
|
+
minitest (5.4.1)
|
39
|
+
mocha (1.1.0)
|
35
40
|
metaclass (~> 0.0.1)
|
36
|
-
multi_json (1.
|
37
|
-
nokogiri (1.6.
|
38
|
-
mini_portile (
|
39
|
-
poltergeist (1.
|
40
|
-
capybara (~> 2.1
|
41
|
-
cliver (~> 0.
|
41
|
+
multi_json (1.10.1)
|
42
|
+
nokogiri (1.6.3.1)
|
43
|
+
mini_portile (= 0.6.0)
|
44
|
+
poltergeist (1.5.1)
|
45
|
+
capybara (~> 2.1)
|
46
|
+
cliver (~> 0.3.1)
|
42
47
|
multi_json (~> 1.0)
|
43
48
|
websocket-driver (>= 0.2.0)
|
44
49
|
rack (1.5.2)
|
45
50
|
rack-test (0.6.2)
|
46
51
|
rack (>= 1.0)
|
47
|
-
rake (10.
|
48
|
-
rspec (
|
49
|
-
rspec-core (~>
|
50
|
-
rspec-expectations (~>
|
51
|
-
rspec-mocks (~>
|
52
|
-
rspec-core (
|
53
|
-
|
54
|
-
|
55
|
-
|
52
|
+
rake (10.3.2)
|
53
|
+
rspec (3.1.0)
|
54
|
+
rspec-core (~> 3.1.0)
|
55
|
+
rspec-expectations (~> 3.1.0)
|
56
|
+
rspec-mocks (~> 3.1.0)
|
57
|
+
rspec-core (3.1.3)
|
58
|
+
rspec-support (~> 3.1.0)
|
59
|
+
rspec-expectations (3.1.1)
|
60
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
61
|
+
rspec-support (~> 3.1.0)
|
62
|
+
rspec-mocks (3.1.0)
|
63
|
+
rspec-support (~> 3.1.0)
|
64
|
+
rspec-support (3.1.0)
|
56
65
|
ruby-debug-base19x (0.11.30.pre12)
|
57
66
|
debugger-ruby_core_source (>= 1.1.4)
|
58
67
|
rake (>= 0.8.1)
|
59
68
|
ruby-debug-ide (0.4.17)
|
60
69
|
rake (>= 0.8.1)
|
61
|
-
rubyzip (
|
62
|
-
selenium-webdriver (2.
|
63
|
-
childprocess (
|
70
|
+
rubyzip (1.1.6)
|
71
|
+
selenium-webdriver (2.43.0)
|
72
|
+
childprocess (~> 0.5)
|
64
73
|
multi_json (~> 1.0)
|
65
|
-
rubyzip (
|
66
|
-
websocket (~> 1.0
|
67
|
-
|
68
|
-
|
74
|
+
rubyzip (~> 1.0)
|
75
|
+
websocket (~> 1.0)
|
76
|
+
thread_safe (0.3.4)
|
77
|
+
tzinfo (1.2.2)
|
78
|
+
thread_safe (~> 0.1)
|
79
|
+
websocket (1.2.1)
|
80
|
+
websocket-driver (0.3.4)
|
69
81
|
xpath (2.0.0)
|
70
82
|
nokogiri (~> 1.3)
|
71
83
|
|
@@ -73,16 +85,16 @@ PLATFORMS
|
|
73
85
|
ruby
|
74
86
|
|
75
87
|
DEPENDENCIES
|
76
|
-
activesupport (~>
|
77
|
-
capybara (
|
78
|
-
capybara-firebug
|
79
|
-
capybara-webkit (
|
88
|
+
activesupport (~> 4.1.6)
|
89
|
+
capybara (~> 2.4.1)
|
90
|
+
capybara-firebug (~> 2.1.0)
|
91
|
+
capybara-webkit (~> 1.3.0)
|
80
92
|
debugger-ruby_core_source
|
81
93
|
gemcutter
|
82
94
|
gemspec_deps_gen
|
83
95
|
mocha
|
84
|
-
poltergeist
|
96
|
+
poltergeist (~> 1.5.1)
|
85
97
|
rspec
|
86
98
|
ruby-debug-base19x (= 0.11.30.pre12)
|
87
99
|
ruby-debug-ide (= 0.4.17)
|
88
|
-
selenium-webdriver
|
100
|
+
selenium-webdriver (~> 2.43.0)
|
data/Rakefile
CHANGED
data/lib/acceptance_test.rb
CHANGED
@@ -3,15 +3,21 @@ if defined? RSpec
|
|
3
3
|
attr_reader :acceptance_test
|
4
4
|
|
5
5
|
before :all do
|
6
|
-
@acceptance_test = AcceptanceTest.new
|
6
|
+
@acceptance_test = AcceptanceTest.new ".", "tmp"
|
7
7
|
end
|
8
8
|
|
9
9
|
before do
|
10
|
-
|
10
|
+
metadata = RSpec.current_example.metadata
|
11
|
+
|
12
|
+
acceptance_test.before metadata
|
11
13
|
end
|
12
14
|
|
13
15
|
after do
|
14
|
-
|
16
|
+
metadata = RSpec.current_example.metadata
|
17
|
+
|
18
|
+
acceptance_test.after page, RSpec.current_example.exception, metadata
|
19
|
+
|
20
|
+
self.reset_session!
|
15
21
|
end
|
16
22
|
end
|
17
23
|
|
@@ -1,13 +1,13 @@
|
|
1
1
|
require 'uri'
|
2
2
|
require 'capybara'
|
3
3
|
|
4
|
-
require '
|
5
|
-
require 'active_support/hash_with_indifferent_access'
|
4
|
+
require 'active_support/core_ext/hash'
|
6
5
|
|
7
6
|
require 'acceptance_test/acceptance_test_helper'
|
8
7
|
|
9
8
|
class AcceptanceTest
|
10
|
-
|
9
|
+
attr_reader :acceptance_config, :project_root, :screenshot_dir
|
10
|
+
attr_accessor :app_host
|
11
11
|
|
12
12
|
def initialize project_root, screenshot_dir
|
13
13
|
@project_root = File.expand_path(project_root.to_s)
|
@@ -20,6 +20,25 @@ class AcceptanceTest
|
|
20
20
|
configure
|
21
21
|
end
|
22
22
|
|
23
|
+
def acceptance_config= acceptance_config
|
24
|
+
@acceptance_config = acceptance_config.kind_of?(HashWithIndifferentAccess) ?
|
25
|
+
acceptance_config : HashWithIndifferentAccess.new(acceptance_config)
|
26
|
+
end
|
27
|
+
|
28
|
+
def driver metadata
|
29
|
+
driver = ENV['DRIVER'].nil? ? nil : ENV['DRIVER'].to_sym
|
30
|
+
|
31
|
+
driver = metadata[:driver] if driver.nil?
|
32
|
+
|
33
|
+
driver = :webkit if driver.nil?
|
34
|
+
|
35
|
+
driver
|
36
|
+
end
|
37
|
+
|
38
|
+
def selenium_driver? driver
|
39
|
+
driver.to_s =~ /selenium/
|
40
|
+
end
|
41
|
+
|
23
42
|
def before metadata={}
|
24
43
|
driver = driver(metadata)
|
25
44
|
|
@@ -27,14 +46,6 @@ class AcceptanceTest
|
|
27
46
|
register_driver driver
|
28
47
|
|
29
48
|
select_driver driver
|
30
|
-
|
31
|
-
if acceptance_config_exist?
|
32
|
-
puts "\nAcceptance Configuration: #{@acceptance_config[:name]}"
|
33
|
-
puts "Environment: #{@acceptance_config[:env]}"
|
34
|
-
puts "Application: #{@acceptance_config[:webapp_url]}"
|
35
|
-
puts "Selenium: #{@acceptance_config[:selenium_host]}:#{@acceptance_config[:selenium_port]}" if
|
36
|
-
selenium_driver?(driver)
|
37
|
-
end
|
38
49
|
end
|
39
50
|
|
40
51
|
setup_app_host app_host
|
@@ -57,12 +68,6 @@ class AcceptanceTest
|
|
57
68
|
Capybara.current_driver = Capybara.default_driver
|
58
69
|
end
|
59
70
|
|
60
|
-
def load_acceptance_config file_name, config_name
|
61
|
-
@acceptance_config = HashWithIndifferentAccess.new YAML.load_file(file_name)[config_name]
|
62
|
-
|
63
|
-
@acceptance_config[:name] = config_name
|
64
|
-
end
|
65
|
-
|
66
71
|
private
|
67
72
|
|
68
73
|
def default_app_host
|
@@ -146,7 +151,7 @@ class AcceptanceTest
|
|
146
151
|
|
147
152
|
when :selenium_remote
|
148
153
|
unless Capybara.drivers[:selenium_remote]
|
149
|
-
url = "http://#{
|
154
|
+
url = "http://#{acceptance_config[:selenium_host]}:#{acceptance_config[:selenium_port]}/wd/hub"
|
150
155
|
|
151
156
|
Capybara.register_driver :selenium_remote do |app|
|
152
157
|
Capybara::Selenium::Driver.new(app, {:browser => :remote, :url => url})
|
@@ -194,16 +199,6 @@ class AcceptanceTest
|
|
194
199
|
end
|
195
200
|
end
|
196
201
|
|
197
|
-
def driver metadata
|
198
|
-
driver = ENV['DRIVER'].nil? ? nil : ENV['DRIVER'].to_sym
|
199
|
-
|
200
|
-
driver = metadata[:driver] if driver.nil?
|
201
|
-
|
202
|
-
driver = :webkit if driver.nil?
|
203
|
-
|
204
|
-
driver
|
205
|
-
end
|
206
|
-
|
207
202
|
def setup_app_host app_host
|
208
203
|
Capybara.app_host = app_host
|
209
204
|
Capybara.server_port = URI.parse(app_host).port
|
@@ -216,20 +211,17 @@ class AcceptanceTest
|
|
216
211
|
end
|
217
212
|
|
218
213
|
def acceptance_config_exist?
|
219
|
-
not
|
214
|
+
not acceptance_config.nil?
|
220
215
|
end
|
221
216
|
|
222
217
|
def setup_driver_from_config driver
|
223
|
-
@app_host = app_host_from_url(
|
218
|
+
@app_host = app_host_from_url(acceptance_config[:webapp_url])
|
224
219
|
|
225
|
-
Rails.env =
|
220
|
+
Rails.env = acceptance_config[:env] if defined? Rails.env
|
226
221
|
|
227
222
|
Capybara.current_driver = driver
|
228
223
|
Capybara.javascript_driver = driver
|
229
224
|
end
|
230
225
|
|
231
|
-
def selenium_driver? driver
|
232
|
-
driver.to_s =~ /selenium/
|
233
|
-
end
|
234
226
|
end
|
235
227
|
|
@@ -1,8 +1,6 @@
|
|
1
|
-
require
|
1
|
+
require 'acceptance_test'
|
2
2
|
|
3
|
-
|
4
|
-
|
5
|
-
describe 'Google Search' do
|
3
|
+
RSpec.describe 'Google Search' do
|
6
4
|
include_context "AcceptanceTest"
|
7
5
|
|
8
6
|
before :all do
|
@@ -25,6 +23,7 @@ describe 'Google Search' do
|
|
25
23
|
end
|
26
24
|
|
27
25
|
it "uses webkit driver", driver: :webkit do
|
26
|
+
pending
|
28
27
|
visit('/')
|
29
28
|
|
30
29
|
fill_in "q", :with => "Capybara"
|
@@ -1,13 +1,29 @@
|
|
1
|
-
require
|
1
|
+
require 'acceptance_test'
|
2
|
+
require 'yaml'
|
2
3
|
|
3
|
-
describe 'Google Search' do
|
4
|
+
RSpec.describe 'Google Search' do
|
4
5
|
include_context "AcceptanceTest"
|
5
6
|
|
6
7
|
before :all do
|
7
|
-
|
8
|
-
selenium_config_name = "test"
|
8
|
+
acceptance_config_file = "spec/features/acceptance_config.yml"
|
9
9
|
|
10
|
-
acceptance_test.
|
10
|
+
acceptance_test.acceptance_config = YAML.load_file(acceptance_config_file)
|
11
|
+
|
12
|
+
acceptance_config = acceptance_test.acceptance_config
|
13
|
+
|
14
|
+
env = acceptance_config[:env]
|
15
|
+
|
16
|
+
puts "\nEnvironment: #{@acceptance_config[:env]}" if env
|
17
|
+
puts "Application: #{@acceptance_config[:webapp_url]}"
|
18
|
+
|
19
|
+
driver = acceptance_test.driver(metadata)
|
20
|
+
|
21
|
+
if acceptance_test.selenium_driver?(driver)
|
22
|
+
selenium_host = acceptance_config[:selenium_host]
|
23
|
+
selenium_port = acceptance_config[:selenium_port]
|
24
|
+
|
25
|
+
puts "Selenium: #{selenium_host}:#{selenium_port}"
|
26
|
+
end
|
11
27
|
end
|
12
28
|
|
13
29
|
before do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acceptance_test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alexander Shvets
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gemspec_deps_gen
|
@@ -69,9 +69,8 @@ files:
|
|
69
69
|
- lib/acceptance_test/acceptance_test_helper.rb
|
70
70
|
- lib/acceptance_test/screenshot_maker.rb
|
71
71
|
- lib/acceptance_test/version.rb
|
72
|
-
- spec/features/
|
72
|
+
- spec/features/acceptance_config.yml
|
73
73
|
- spec/features/google_search_spec.rb
|
74
|
-
- spec/features/selenium.yml
|
75
74
|
- spec/features/with_selenium_conf_spec.rb
|
76
75
|
homepage: http://github.com/shvets/acceptance_test
|
77
76
|
licenses:
|
@@ -98,7 +97,6 @@ signing_key:
|
|
98
97
|
specification_version: 4
|
99
98
|
summary: Simplifies congiguration and run of acceptance tests.
|
100
99
|
test_files:
|
101
|
-
- spec/features/
|
100
|
+
- spec/features/acceptance_config.yml
|
102
101
|
- spec/features/google_search_spec.rb
|
103
|
-
- spec/features/selenium.yml
|
104
102
|
- spec/features/with_selenium_conf_spec.rb
|
@@ -1 +0,0 @@
|
|
1
|
-
require 'acceptance_test'
|
data/spec/features/selenium.yml
DELETED
@@ -1,15 +0,0 @@
|
|
1
|
-
development:
|
2
|
-
env: 'development'
|
3
|
-
webapp_url: 'http://www.google.com'
|
4
|
-
selenium_host: 'localhost'
|
5
|
-
selenium_port: 4444
|
6
|
-
browser: 'firefox'
|
7
|
-
timeout_in_seconds: 40
|
8
|
-
|
9
|
-
test:
|
10
|
-
env: 'test'
|
11
|
-
webapp_url: 'http://www.google.com'
|
12
|
-
selenium_host: 'localhost'
|
13
|
-
selenium_port: 4444
|
14
|
-
browser: 'firefox'
|
15
|
-
timeout_in_seconds: 40
|