watirmark 5.14.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. data/app_generators/create_project/create_project_generator.rb +115 -0
  2. data/app_generators/create_project/templates/features/env.rb.erb +8 -0
  3. data/app_generators/create_project/templates/features/model_steps.rb.erb +9 -0
  4. data/app_generators/create_project/templates/features/post_error_steps.rb.erb +15 -0
  5. data/app_generators/create_project/templates/features/sample.feature.erb +5 -0
  6. data/app_generators/create_project/templates/features/site_steps.rb.erb +7 -0
  7. data/app_generators/create_project/templates/generators/controller.rb.erb +9 -0
  8. data/app_generators/create_project/templates/generators/generate.rb.erb +9 -0
  9. data/app_generators/create_project/templates/generators/model.rb.erb +7 -0
  10. data/app_generators/create_project/templates/generators/mvc_generator.rb.erb +100 -0
  11. data/app_generators/create_project/templates/generators/rbeautify.rb.erb +212 -0
  12. data/app_generators/create_project/templates/generators/view.rb.erb +16 -0
  13. data/app_generators/create_project/templates/generators/workflow_loader.rb.erb +1 -0
  14. data/app_generators/create_project/templates/library/base_controller.rb.erb +9 -0
  15. data/app_generators/create_project/templates/library/base_view.rb.erb +6 -0
  16. data/app_generators/create_project/templates/library/configuration.rb.erb +6 -0
  17. data/app_generators/create_project/templates/library/core_libraries.rb.erb +9 -0
  18. data/app_generators/create_project/templates/library/loader.rb.erb +23 -0
  19. data/app_generators/create_project/templates/library/page_load_checker.rb.erb +11 -0
  20. data/app_generators/create_project/templates/library/post_errors_checker.rb.erb +23 -0
  21. data/app_generators/create_project/templates/library/project_require_file.rb.erb +8 -0
  22. data/app_generators/create_project/templates/library/search_controller.rb.erb +12 -0
  23. data/app_generators/create_project/templates/library/workflows.rb.erb +0 -0
  24. data/app_generators/create_project/templates/project/config.yml.erb +3 -0
  25. data/app_generators/create_project/templates/project/gemfile.rb.erb +11 -0
  26. data/app_generators/create_project/templates/project/rakefile.rb.erb +21 -0
  27. data/bin/etapestry/Gemfile +11 -0
  28. data/bin/etapestry/config.yml +3 -0
  29. data/bin/etapestry/features/etapestry_home.feature +5 -0
  30. data/bin/etapestry/features/step_definitions/model_steps.rb +9 -0
  31. data/bin/etapestry/features/step_definitions/post_error_steps.rb +15 -0
  32. data/bin/etapestry/features/step_definitions/site_steps.rb +7 -0
  33. data/bin/etapestry/features/support/env.rb +8 -0
  34. data/bin/etapestry/generators/mvc/mvc_generator.rb +100 -0
  35. data/bin/etapestry/generators/mvc/rbeautify.rb +212 -0
  36. data/bin/etapestry/generators/mvc/templates/controller.rb.erb +9 -0
  37. data/bin/etapestry/generators/mvc/templates/model.rb.erb +7 -0
  38. data/bin/etapestry/generators/mvc/templates/view.rb.erb +16 -0
  39. data/bin/etapestry/generators/mvc/templates/workflow_loader.rb.erb +1 -0
  40. data/bin/etapestry/lib/etapestry.rb +8 -0
  41. data/bin/etapestry/lib/etapestry/checkers/page_load_checker.rb +11 -0
  42. data/bin/etapestry/lib/etapestry/checkers/post_errors_checker.rb +23 -0
  43. data/bin/etapestry/lib/etapestry/configuration.rb +6 -0
  44. data/bin/etapestry/lib/etapestry/core_libraries.rb +9 -0
  45. data/bin/etapestry/lib/etapestry/loader.rb +23 -0
  46. data/bin/etapestry/lib/etapestry/site/base_controller.rb +9 -0
  47. data/bin/etapestry/lib/etapestry/site/base_view.rb +6 -0
  48. data/bin/etapestry/lib/etapestry/site/search_controller.rb +12 -0
  49. data/bin/etapestry/lib/etapestry/workflows.rb +0 -0
  50. data/bin/etapestry/rakefile.rb +21 -0
  51. data/bin/etapestry/script/generate.rb +9 -0
  52. data/bin/twitter/features/hashtag_search.feature +93 -0
  53. data/bin/twitter/features/step_definitions/hashtag_steps.rb +9 -0
  54. data/bin/twitter/lib/twitter/workflows/search/result_controller.rb +13 -0
  55. data/bin/twitter/lib/twitter/workflows/search/result_model.rb +5 -0
  56. data/bin/twitter/lib/twitter/workflows/search/result_view.rb +19 -0
  57. data/bin/watirmark +10 -0
  58. data/lib/watirmark.rb +26 -0
  59. data/lib/watirmark/at_exit.rb +13 -0
  60. data/lib/watirmark/configuration.rb +201 -0
  61. data/lib/watirmark/controller/actions.rb +172 -0
  62. data/lib/watirmark/controller/assertions.rb +116 -0
  63. data/lib/watirmark/controller/controller.rb +191 -0
  64. data/lib/watirmark/controller/dialogs.rb +33 -0
  65. data/lib/watirmark/controller/matcher.rb +19 -0
  66. data/lib/watirmark/cucumber/cuke_helper.rb +150 -0
  67. data/lib/watirmark/cucumber/email_helper.rb +103 -0
  68. data/lib/watirmark/cucumber/env.rb +9 -0
  69. data/lib/watirmark/cucumber/hooks.rb +16 -0
  70. data/lib/watirmark/cucumber/model_helper.rb +34 -0
  71. data/lib/watirmark/cucumber/transforms.rb +55 -0
  72. data/lib/watirmark/exceptions.rb +15 -0
  73. data/lib/watirmark/extensions/ruby_extensions.rb +129 -0
  74. data/lib/watirmark/extensions/webdriver_extensions.rb +150 -0
  75. data/lib/watirmark/formatters/snapshot_formatter.rb +23 -0
  76. data/lib/watirmark/loader.rb +87 -0
  77. data/lib/watirmark/model.rb +3 -0
  78. data/lib/watirmark/models/cucumber_helper.rb +49 -0
  79. data/lib/watirmark/models/debug_methods.rb +21 -0
  80. data/lib/watirmark/models/default_values.rb +21 -0
  81. data/lib/watirmark/models/factory.rb +168 -0
  82. data/lib/watirmark/models/factory_method_generators.rb +84 -0
  83. data/lib/watirmark/models/factory_methods.rb +72 -0
  84. data/lib/watirmark/models/trait.rb +35 -0
  85. data/lib/watirmark/models/upload_csv.rb +24 -0
  86. data/lib/watirmark/page/keyed_element.rb +63 -0
  87. data/lib/watirmark/page/page.rb +50 -0
  88. data/lib/watirmark/page/page_definition.rb +187 -0
  89. data/lib/watirmark/page/process_page.rb +112 -0
  90. data/lib/watirmark/page/radio_maps.rb +53 -0
  91. data/lib/watirmark/profile.rb +22 -0
  92. data/lib/watirmark/rake/smoketest.rb +17 -0
  93. data/lib/watirmark/screenshot.rb +127 -0
  94. data/lib/watirmark/session.rb +115 -0
  95. data/lib/watirmark/version.rb +5 -0
  96. data/spec/assertions_spec.rb +95 -0
  97. data/spec/config_spec.rb +82 -0
  98. data/spec/controller_actions_spec.rb +91 -0
  99. data/spec/controller_spec.rb +426 -0
  100. data/spec/controllers_and_models_spec.rb +52 -0
  101. data/spec/model_factory_spec.rb +568 -0
  102. data/spec/model_traits_spec.rb +141 -0
  103. data/spec/page_spec.rb +127 -0
  104. data/spec/process_page_spec.rb +163 -0
  105. data/spec/spec_helper.rb +17 -0
  106. metadata +238 -0
metadata ADDED
@@ -0,0 +1,238 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: watirmark
3
+ version: !ruby/object:Gem::Version
4
+ version: 5.14.16
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Hugh McGowan
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2012-12-03 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: watir-webdriver
16
+ requirement: &14006740 !ruby/object:Gem::Requirement
17
+ none: false
18
+ requirements:
19
+ - - ! '>='
20
+ - !ruby/object:Gem::Version
21
+ version: '0'
22
+ type: :runtime
23
+ prerelease: false
24
+ version_requirements: *14006740
25
+ - !ruby/object:Gem::Dependency
26
+ name: american_date
27
+ requirement: &14006320 !ruby/object:Gem::Requirement
28
+ none: false
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
33
+ type: :runtime
34
+ prerelease: false
35
+ version_requirements: *14006320
36
+ - !ruby/object:Gem::Dependency
37
+ name: logger
38
+ requirement: &14005900 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ! '>='
42
+ - !ruby/object:Gem::Version
43
+ version: '0'
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: *14005900
47
+ - !ruby/object:Gem::Dependency
48
+ name: uuid
49
+ requirement: &14005480 !ruby/object:Gem::Requirement
50
+ none: false
51
+ requirements:
52
+ - - ! '>='
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ type: :runtime
56
+ prerelease: false
57
+ version_requirements: *14005480
58
+ - !ruby/object:Gem::Dependency
59
+ name: nokogiri
60
+ requirement: &14005060 !ruby/object:Gem::Requirement
61
+ none: false
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
66
+ type: :runtime
67
+ prerelease: false
68
+ version_requirements: *14005060
69
+ - !ruby/object:Gem::Dependency
70
+ name: rubigen
71
+ requirement: &14004640 !ruby/object:Gem::Requirement
72
+ none: false
73
+ requirements:
74
+ - - ! '>='
75
+ - !ruby/object:Gem::Version
76
+ version: '0'
77
+ type: :runtime
78
+ prerelease: false
79
+ version_requirements: *14004640
80
+ - !ruby/object:Gem::Dependency
81
+ name: activesupport
82
+ requirement: &14004220 !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: *14004220
91
+ description: Watirmark is an MVC test framework for watir-webdriver
92
+ email: hmcgowan@convio.com
93
+ executables:
94
+ - watirmark
95
+ extensions: []
96
+ extra_rdoc_files: []
97
+ files:
98
+ - lib/watirmark.rb
99
+ - lib/watirmark/session.rb
100
+ - lib/watirmark/formatters/snapshot_formatter.rb
101
+ - lib/watirmark/exceptions.rb
102
+ - lib/watirmark/extensions/webdriver_extensions.rb
103
+ - lib/watirmark/extensions/ruby_extensions.rb
104
+ - lib/watirmark/at_exit.rb
105
+ - lib/watirmark/models/cucumber_helper.rb
106
+ - lib/watirmark/models/factory.rb
107
+ - lib/watirmark/models/trait.rb
108
+ - lib/watirmark/models/upload_csv.rb
109
+ - lib/watirmark/models/debug_methods.rb
110
+ - lib/watirmark/models/factory_methods.rb
111
+ - lib/watirmark/models/default_values.rb
112
+ - lib/watirmark/models/factory_method_generators.rb
113
+ - lib/watirmark/controller/dialogs.rb
114
+ - lib/watirmark/controller/controller.rb
115
+ - lib/watirmark/controller/matcher.rb
116
+ - lib/watirmark/controller/assertions.rb
117
+ - lib/watirmark/controller/actions.rb
118
+ - lib/watirmark/model.rb
119
+ - lib/watirmark/screenshot.rb
120
+ - lib/watirmark/cucumber/model_helper.rb
121
+ - lib/watirmark/cucumber/hooks.rb
122
+ - lib/watirmark/cucumber/transforms.rb
123
+ - lib/watirmark/cucumber/env.rb
124
+ - lib/watirmark/cucumber/cuke_helper.rb
125
+ - lib/watirmark/cucumber/email_helper.rb
126
+ - lib/watirmark/loader.rb
127
+ - lib/watirmark/page/keyed_element.rb
128
+ - lib/watirmark/page/page.rb
129
+ - lib/watirmark/page/page_definition.rb
130
+ - lib/watirmark/page/radio_maps.rb
131
+ - lib/watirmark/page/process_page.rb
132
+ - lib/watirmark/rake/smoketest.rb
133
+ - lib/watirmark/version.rb
134
+ - lib/watirmark/configuration.rb
135
+ - lib/watirmark/profile.rb
136
+ - app_generators/create_project/templates/library/page_load_checker.rb.erb
137
+ - app_generators/create_project/templates/library/core_libraries.rb.erb
138
+ - app_generators/create_project/templates/library/loader.rb.erb
139
+ - app_generators/create_project/templates/library/workflows.rb.erb
140
+ - app_generators/create_project/templates/library/configuration.rb.erb
141
+ - app_generators/create_project/templates/library/project_require_file.rb.erb
142
+ - app_generators/create_project/templates/library/base_controller.rb.erb
143
+ - app_generators/create_project/templates/library/post_errors_checker.rb.erb
144
+ - app_generators/create_project/templates/library/base_view.rb.erb
145
+ - app_generators/create_project/templates/library/search_controller.rb.erb
146
+ - app_generators/create_project/templates/features/env.rb.erb
147
+ - app_generators/create_project/templates/features/sample.feature.erb
148
+ - app_generators/create_project/templates/features/site_steps.rb.erb
149
+ - app_generators/create_project/templates/features/post_error_steps.rb.erb
150
+ - app_generators/create_project/templates/features/model_steps.rb.erb
151
+ - app_generators/create_project/templates/project/rakefile.rb.erb
152
+ - app_generators/create_project/templates/project/config.yml.erb
153
+ - app_generators/create_project/templates/project/gemfile.rb.erb
154
+ - app_generators/create_project/templates/generators/controller.rb.erb
155
+ - app_generators/create_project/templates/generators/generate.rb.erb
156
+ - app_generators/create_project/templates/generators/rbeautify.rb.erb
157
+ - app_generators/create_project/templates/generators/mvc_generator.rb.erb
158
+ - app_generators/create_project/templates/generators/workflow_loader.rb.erb
159
+ - app_generators/create_project/templates/generators/model.rb.erb
160
+ - app_generators/create_project/templates/generators/view.rb.erb
161
+ - app_generators/create_project/create_project_generator.rb
162
+ - bin/etapestry/features/etapestry_home.feature
163
+ - bin/etapestry/features/step_definitions/site_steps.rb
164
+ - bin/etapestry/features/step_definitions/model_steps.rb
165
+ - bin/etapestry/features/step_definitions/post_error_steps.rb
166
+ - bin/etapestry/features/support/env.rb
167
+ - bin/etapestry/rakefile.rb
168
+ - bin/etapestry/Gemfile
169
+ - bin/etapestry/config.yml
170
+ - bin/etapestry/script/generate.rb
171
+ - bin/etapestry/lib/etapestry/site/search_controller.rb
172
+ - bin/etapestry/lib/etapestry/site/base_controller.rb
173
+ - bin/etapestry/lib/etapestry/site/base_view.rb
174
+ - bin/etapestry/lib/etapestry/checkers/post_errors_checker.rb
175
+ - bin/etapestry/lib/etapestry/checkers/page_load_checker.rb
176
+ - bin/etapestry/lib/etapestry/core_libraries.rb
177
+ - bin/etapestry/lib/etapestry/workflows.rb
178
+ - bin/etapestry/lib/etapestry/loader.rb
179
+ - bin/etapestry/lib/etapestry/configuration.rb
180
+ - bin/etapestry/lib/etapestry.rb
181
+ - bin/etapestry/generators/mvc/rbeautify.rb
182
+ - bin/etapestry/generators/mvc/templates/controller.rb.erb
183
+ - bin/etapestry/generators/mvc/templates/workflow_loader.rb.erb
184
+ - bin/etapestry/generators/mvc/templates/model.rb.erb
185
+ - bin/etapestry/generators/mvc/templates/view.rb.erb
186
+ - bin/etapestry/generators/mvc/mvc_generator.rb
187
+ - bin/twitter/features/step_definitions/hashtag_steps.rb
188
+ - bin/twitter/features/hashtag_search.feature
189
+ - bin/twitter/lib/twitter/workflows/search/result_controller.rb
190
+ - bin/twitter/lib/twitter/workflows/search/result_view.rb
191
+ - bin/twitter/lib/twitter/workflows/search/result_model.rb
192
+ - bin/watirmark
193
+ - spec/controllers_and_models_spec.rb
194
+ - spec/process_page_spec.rb
195
+ - spec/page_spec.rb
196
+ - spec/config_spec.rb
197
+ - spec/spec_helper.rb
198
+ - spec/controller_spec.rb
199
+ - spec/model_traits_spec.rb
200
+ - spec/assertions_spec.rb
201
+ - spec/controller_actions_spec.rb
202
+ - spec/model_factory_spec.rb
203
+ homepage: http://github.com/convio/watirmark
204
+ licenses: []
205
+ post_install_message:
206
+ rdoc_options: []
207
+ require_paths:
208
+ - lib
209
+ required_ruby_version: !ruby/object:Gem::Requirement
210
+ none: false
211
+ requirements:
212
+ - - ! '>='
213
+ - !ruby/object:Gem::Version
214
+ version: '0'
215
+ required_rubygems_version: !ruby/object:Gem::Requirement
216
+ none: false
217
+ requirements:
218
+ - - ! '>='
219
+ - !ruby/object:Gem::Version
220
+ version: '0'
221
+ requirements: []
222
+ rubyforge_project:
223
+ rubygems_version: 1.8.17
224
+ signing_key:
225
+ specification_version: 3
226
+ summary: watirmark 5.14.16
227
+ test_files:
228
+ - spec/controllers_and_models_spec.rb
229
+ - spec/process_page_spec.rb
230
+ - spec/page_spec.rb
231
+ - spec/config_spec.rb
232
+ - spec/spec_helper.rb
233
+ - spec/controller_spec.rb
234
+ - spec/model_traits_spec.rb
235
+ - spec/assertions_spec.rb
236
+ - spec/controller_actions_spec.rb
237
+ - spec/model_factory_spec.rb
238
+ has_rdoc: