howitzer 2.1.1 → 2.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +5 -5
  2. data/CHANGELOG.md +44 -1
  3. data/LICENSE +1 -1
  4. data/README.md +19 -17
  5. data/generators/base_generator.rb +5 -7
  6. data/generators/config/config_generator.rb +3 -4
  7. data/generators/config/templates/boot.rb +2 -2
  8. data/generators/config/templates/capybara.rb +4 -5
  9. data/generators/config/templates/default.yml +21 -11
  10. data/generators/config/templates/drivers/browserstack.rb +31 -4
  11. data/generators/config/templates/drivers/crossbrowsertesting.rb +9 -11
  12. data/generators/config/templates/drivers/headless_chrome.rb +1 -1
  13. data/generators/config/templates/drivers/headless_firefox.rb +23 -0
  14. data/generators/config/templates/drivers/lambdatest.rb +30 -0
  15. data/generators/config/templates/drivers/sauce.rb +30 -2
  16. data/generators/config/templates/drivers/selenium.rb +1 -1
  17. data/generators/config/templates/drivers/selenium_grid.rb +3 -3
  18. data/generators/config/templates/drivers/testingbot.rb +29 -2
  19. data/generators/cucumber/templates/cuke_sniffer.rake +2 -2
  20. data/generators/cucumber/templates/env.rb +8 -0
  21. data/generators/cucumber/templates/hooks.rb +9 -3
  22. data/generators/cucumber/templates/transformers.rb +1 -1
  23. data/generators/prerequisites/templates/factory_bot.rb +2 -1
  24. data/generators/root/root_generator.rb +1 -1
  25. data/generators/root/templates/Gemfile.erb +4 -10
  26. data/generators/rspec/templates/spec_helper.rb +6 -5
  27. data/generators/turnip/templates/spec_helper.rb +6 -5
  28. data/generators/web/templates/example_page.rb +1 -1
  29. data/lib/howitzer/cache.rb +20 -19
  30. data/lib/howitzer/capybara_helpers.rb +59 -14
  31. data/lib/howitzer/email.rb +3 -2
  32. data/lib/howitzer/exceptions.rb +21 -21
  33. data/lib/howitzer/gmail_api/client.rb +13 -4
  34. data/lib/howitzer/log.rb +6 -6
  35. data/lib/howitzer/mail_adapters/gmail.rb +3 -0
  36. data/lib/howitzer/mail_adapters/mailgun.rb +3 -1
  37. data/lib/howitzer/mail_adapters/mailtrap.rb +3 -0
  38. data/lib/howitzer/mailgun_api/client.rb +3 -2
  39. data/lib/howitzer/mailgun_api/connector.rb +1 -0
  40. data/lib/howitzer/mailgun_api/response.rb +1 -2
  41. data/lib/howitzer/mailtrap_api/client.rb +1 -1
  42. data/lib/howitzer/meta/actions.rb +35 -0
  43. data/lib/howitzer/meta/element.rb +40 -0
  44. data/lib/howitzer/meta/entry.rb +62 -0
  45. data/lib/howitzer/meta/iframe.rb +41 -0
  46. data/lib/howitzer/meta/section.rb +30 -0
  47. data/lib/howitzer/meta.rb +11 -0
  48. data/lib/howitzer/utils/string_extensions.rb +6 -2
  49. data/lib/howitzer/version.rb +1 -1
  50. data/lib/howitzer/web/base_section.rb +1 -1
  51. data/lib/howitzer/web/capybara_context_holder.rb +1 -0
  52. data/lib/howitzer/web/capybara_methods_proxy.rb +15 -6
  53. data/lib/howitzer/web/element_dsl.rb +104 -44
  54. data/lib/howitzer/web/iframe_dsl.rb +4 -2
  55. data/lib/howitzer/web/page.rb +14 -14
  56. data/lib/howitzer/web/page_dsl.rb +18 -6
  57. data/lib/howitzer/web/page_validator.rb +27 -26
  58. data/lib/howitzer/web/section.rb +13 -2
  59. data/lib/howitzer/web/section_dsl.rb +65 -30
  60. data/lib/howitzer.rb +40 -0
  61. metadata +31 -157
  62. data/.coveralls.yml +0 -1
  63. data/.gitignore +0 -14
  64. data/.rspec +0 -3
  65. data/.rubocop.yml +0 -51
  66. data/.ruby-gemset +0 -1
  67. data/.travis.yml +0 -7
  68. data/Gemfile +0 -14
  69. data/ISSUE_TEMPLATE.md +0 -16
  70. data/MAINTENANCE.md +0 -32
  71. data/Rakefile +0 -38
  72. data/features/cli_help.feature +0 -31
  73. data/features/cli_new.feature +0 -389
  74. data/features/cli_unknown.feature +0 -17
  75. data/features/cli_update.feature +0 -218
  76. data/features/cli_version.feature +0 -14
  77. data/features/step_definitions/common_steps.rb +0 -34
  78. data/features/support/env.rb +0 -1
  79. data/generators/config/templates/drivers/phantomjs.rb +0 -19
  80. data/generators/config/templates/drivers/poltergeist.rb +0 -11
  81. data/generators/config/templates/drivers/webkit.rb +0 -6
  82. data/generators/root/templates/.gitignore +0 -21
  83. data/generators/root/templates/.rubocop.yml +0 -35
  84. data/generators/turnip/templates/.rspec +0 -1
  85. data/howitzer.gemspec +0 -39
  86. data/lib/howitzer/mail_adapters/debugmail.rb +0 -0
  87. data/spec/config/custom.yml +0 -9
  88. data/spec/spec_helper.rb +0 -73
  89. data/spec/support/generator_helper.rb +0 -21
  90. data/spec/support/logger_helper.rb +0 -13
  91. data/spec/support/shared_examples/capybara_context_holder.rb +0 -33
  92. data/spec/support/shared_examples/capybara_methods_proxy.rb +0 -94
  93. data/spec/support/shared_examples/dynamic_section_methods.rb +0 -35
  94. data/spec/support/shared_examples/element_dsl.rb +0 -242
  95. data/spec/unit/generators/base_generator_spec.rb +0 -283
  96. data/spec/unit/generators/config_generator_spec.rb +0 -59
  97. data/spec/unit/generators/cucumber_generator_spec.rb +0 -62
  98. data/spec/unit/generators/emails_generator_spec.rb +0 -35
  99. data/spec/unit/generators/prerequisites_generator_spec.rb +0 -53
  100. data/spec/unit/generators/root_generator_spec.rb +0 -75
  101. data/spec/unit/generators/rspec_generator_spec.rb +0 -36
  102. data/spec/unit/generators/tasks_generator_spec.rb +0 -31
  103. data/spec/unit/generators/turnip_generator_spec.rb +0 -52
  104. data/spec/unit/generators/web_generator_spec.rb +0 -52
  105. data/spec/unit/lib/cache_spec.rb +0 -85
  106. data/spec/unit/lib/capybara_helpers_spec.rb +0 -697
  107. data/spec/unit/lib/email_spec.rb +0 -186
  108. data/spec/unit/lib/gmail_api/client_spec.rb +0 -26
  109. data/spec/unit/lib/howitzer_spec.rb +0 -69
  110. data/spec/unit/lib/init_spec.rb +0 -2
  111. data/spec/unit/lib/log_spec.rb +0 -122
  112. data/spec/unit/lib/mail_adapters/abstract_spec.rb +0 -62
  113. data/spec/unit/lib/mail_adapters/gmail_spec.rb +0 -128
  114. data/spec/unit/lib/mail_adapters/mailgun_spec.rb +0 -158
  115. data/spec/unit/lib/mail_adapters/mailtrap_spec.rb +0 -130
  116. data/spec/unit/lib/mailgun_api/client_spec.rb +0 -80
  117. data/spec/unit/lib/mailgun_api/connector_spec.rb +0 -54
  118. data/spec/unit/lib/mailgun_api/response_spec.rb +0 -28
  119. data/spec/unit/lib/mailtrap_api/client_spec.rb +0 -67
  120. data/spec/unit/lib/utils/string_extensions_spec.rb +0 -77
  121. data/spec/unit/lib/web/base_section_spec.rb +0 -43
  122. data/spec/unit/lib/web/element_dsl_spec.rb +0 -22
  123. data/spec/unit/lib/web/iframe_dsl_spec.rb +0 -203
  124. data/spec/unit/lib/web/page_dsl_spec.rb +0 -74
  125. data/spec/unit/lib/web/page_spec.rb +0 -378
  126. data/spec/unit/lib/web/page_validator_spec.rb +0 -276
  127. data/spec/unit/lib/web/section_dsl_spec.rb +0 -165
  128. data/spec/unit/lib/web/section_spec.rb +0 -63
  129. data/spec/unit/version_spec.rb +0 -8
metadata CHANGED
@@ -1,65 +1,51 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: howitzer
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roman Parashchenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-12-04 00:00:00.000000000 Z
11
+ date: 2022-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
15
- requirement: !ruby/object:Gem::Requirement
16
- requirements:
17
- - - "~>"
18
- - !ruby/object:Gem::Version
19
- version: '5.0'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
25
- - !ruby/object:Gem::Version
26
- version: '5.0'
27
- - !ruby/object:Gem::Dependency
28
- name: capybara
29
15
  requirement: !ruby/object:Gem::Requirement
30
16
  requirements:
31
17
  - - ">="
32
18
  - !ruby/object:Gem::Version
33
- version: '2.1'
19
+ version: '5'
34
20
  - - "<"
35
21
  - !ruby/object:Gem::Version
36
- version: '3.0'
22
+ version: '7'
37
23
  type: :runtime
38
24
  prerelease: false
39
25
  version_requirements: !ruby/object:Gem::Requirement
40
26
  requirements:
41
27
  - - ">="
42
28
  - !ruby/object:Gem::Version
43
- version: '2.1'
29
+ version: '5'
44
30
  - - "<"
45
31
  - !ruby/object:Gem::Version
46
- version: '3.0'
32
+ version: '7'
47
33
  - !ruby/object:Gem::Dependency
48
- name: colorize
34
+ name: capybara
49
35
  requirement: !ruby/object:Gem::Requirement
50
36
  requirements:
51
- - - ">="
37
+ - - "<"
52
38
  - !ruby/object:Gem::Version
53
- version: '0'
39
+ version: '4.0'
54
40
  type: :runtime
55
41
  prerelease: false
56
42
  version_requirements: !ruby/object:Gem::Requirement
57
43
  requirements:
58
- - - ">="
44
+ - - "<"
59
45
  - !ruby/object:Gem::Version
60
- version: '0'
46
+ version: '4.0'
61
47
  - !ruby/object:Gem::Dependency
62
- name: gli
48
+ name: colorize
63
49
  requirement: !ruby/object:Gem::Requirement
64
50
  requirements:
65
51
  - - ">="
@@ -73,7 +59,7 @@ dependencies:
73
59
  - !ruby/object:Gem::Version
74
60
  version: '0'
75
61
  - !ruby/object:Gem::Dependency
76
- name: gmail
62
+ name: gli
77
63
  requirement: !ruby/object:Gem::Requirement
78
64
  requirements:
79
65
  - - ">="
@@ -163,9 +149,6 @@ dependencies:
163
149
  - - ">="
164
150
  - !ruby/object:Gem::Version
165
151
  version: 3.4.1
166
- - - "<"
167
- - !ruby/object:Gem::Version
168
- version: '4.0'
169
152
  type: :runtime
170
153
  prerelease: false
171
154
  version_requirements: !ruby/object:Gem::Requirement
@@ -173,9 +156,6 @@ dependencies:
173
156
  - - ">="
174
157
  - !ruby/object:Gem::Version
175
158
  version: 3.4.1
176
- - - "<"
177
- - !ruby/object:Gem::Version
178
- version: '4.0'
179
159
  - !ruby/object:Gem::Dependency
180
160
  name: sexy_settings
181
161
  requirement: !ruby/object:Gem::Requirement
@@ -255,29 +235,12 @@ executables:
255
235
  extensions: []
256
236
  extra_rdoc_files: []
257
237
  files:
258
- - ".coveralls.yml"
259
- - ".gitignore"
260
- - ".rspec"
261
- - ".rubocop.yml"
262
- - ".ruby-gemset"
263
- - ".travis.yml"
264
238
  - ".yardopts"
265
239
  - CHANGELOG.md
266
240
  - CONTRIBUTING.md
267
- - Gemfile
268
- - ISSUE_TEMPLATE.md
269
241
  - LICENSE
270
- - MAINTENANCE.md
271
242
  - README.md
272
- - Rakefile
273
243
  - bin/howitzer
274
- - features/cli_help.feature
275
- - features/cli_new.feature
276
- - features/cli_unknown.feature
277
- - features/cli_update.feature
278
- - features/cli_version.feature
279
- - features/step_definitions/common_steps.rb
280
- - features/support/env.rb
281
244
  - generators/base_generator.rb
282
245
  - generators/config/config_generator.rb
283
246
  - generators/config/templates/boot.rb
@@ -287,13 +250,12 @@ files:
287
250
  - generators/config/templates/drivers/browserstack.rb
288
251
  - generators/config/templates/drivers/crossbrowsertesting.rb
289
252
  - generators/config/templates/drivers/headless_chrome.rb
290
- - generators/config/templates/drivers/phantomjs.rb
291
- - generators/config/templates/drivers/poltergeist.rb
253
+ - generators/config/templates/drivers/headless_firefox.rb
254
+ - generators/config/templates/drivers/lambdatest.rb
292
255
  - generators/config/templates/drivers/sauce.rb
293
256
  - generators/config/templates/drivers/selenium.rb
294
257
  - generators/config/templates/drivers/selenium_grid.rb
295
258
  - generators/config/templates/drivers/testingbot.rb
296
- - generators/config/templates/drivers/webkit.rb
297
259
  - generators/cucumber/cucumber_generator.rb
298
260
  - generators/cucumber/templates/common_steps.rb
299
261
  - generators/cucumber/templates/cucumber.rake
@@ -310,8 +272,6 @@ files:
310
272
  - generators/prerequisites/templates/user.rb
311
273
  - generators/prerequisites/templates/users.rb
312
274
  - generators/root/root_generator.rb
313
- - generators/root/templates/.gitignore
314
- - generators/root/templates/.rubocop.yml
315
275
  - generators/root/templates/Gemfile.erb
316
276
  - generators/root/templates/Rakefile
317
277
  - generators/rspec/rspec_generator.rb
@@ -320,7 +280,6 @@ files:
320
280
  - generators/rspec/templates/spec_helper.rb
321
281
  - generators/tasks/tasks_generator.rb
322
282
  - generators/tasks/templates/common.rake
323
- - generators/turnip/templates/.rspec
324
283
  - generators/turnip/templates/common_steps.rb
325
284
  - generators/turnip/templates/example.feature
326
285
  - generators/turnip/templates/spec_helper.rb
@@ -330,7 +289,6 @@ files:
330
289
  - generators/web/templates/example_page.rb
331
290
  - generators/web/templates/menu_section.rb
332
291
  - generators/web/web_generator.rb
333
- - howitzer.gemspec
334
292
  - lib/howitzer.rb
335
293
  - lib/howitzer/cache.rb
336
294
  - lib/howitzer/capybara_helpers.rb
@@ -341,7 +299,6 @@ files:
341
299
  - lib/howitzer/log.rb
342
300
  - lib/howitzer/mail_adapters.rb
343
301
  - lib/howitzer/mail_adapters/abstract.rb
344
- - lib/howitzer/mail_adapters/debugmail.rb
345
302
  - lib/howitzer/mail_adapters/gmail.rb
346
303
  - lib/howitzer/mail_adapters/mailgun.rb
347
304
  - lib/howitzer/mail_adapters/mailtrap.rb
@@ -351,6 +308,12 @@ files:
351
308
  - lib/howitzer/mailgun_api/response.rb
352
309
  - lib/howitzer/mailtrap_api.rb
353
310
  - lib/howitzer/mailtrap_api/client.rb
311
+ - lib/howitzer/meta.rb
312
+ - lib/howitzer/meta/actions.rb
313
+ - lib/howitzer/meta/element.rb
314
+ - lib/howitzer/meta/entry.rb
315
+ - lib/howitzer/meta/iframe.rb
316
+ - lib/howitzer/meta/section.rb
354
317
  - lib/howitzer/tasks/framework.rake
355
318
  - lib/howitzer/utils.rb
356
319
  - lib/howitzer/utils/string_extensions.rb
@@ -367,53 +330,15 @@ files:
367
330
  - lib/howitzer/web/page_validator.rb
368
331
  - lib/howitzer/web/section.rb
369
332
  - lib/howitzer/web/section_dsl.rb
370
- - spec/config/custom.yml
371
- - spec/spec_helper.rb
372
- - spec/support/generator_helper.rb
373
- - spec/support/logger_helper.rb
374
- - spec/support/shared_examples/capybara_context_holder.rb
375
- - spec/support/shared_examples/capybara_methods_proxy.rb
376
- - spec/support/shared_examples/dynamic_section_methods.rb
377
- - spec/support/shared_examples/element_dsl.rb
378
- - spec/unit/generators/base_generator_spec.rb
379
- - spec/unit/generators/config_generator_spec.rb
380
- - spec/unit/generators/cucumber_generator_spec.rb
381
- - spec/unit/generators/emails_generator_spec.rb
382
- - spec/unit/generators/prerequisites_generator_spec.rb
383
- - spec/unit/generators/root_generator_spec.rb
384
- - spec/unit/generators/rspec_generator_spec.rb
385
- - spec/unit/generators/tasks_generator_spec.rb
386
- - spec/unit/generators/turnip_generator_spec.rb
387
- - spec/unit/generators/web_generator_spec.rb
388
- - spec/unit/lib/cache_spec.rb
389
- - spec/unit/lib/capybara_helpers_spec.rb
390
- - spec/unit/lib/email_spec.rb
391
- - spec/unit/lib/gmail_api/client_spec.rb
392
- - spec/unit/lib/howitzer_spec.rb
393
- - spec/unit/lib/init_spec.rb
394
- - spec/unit/lib/log_spec.rb
395
- - spec/unit/lib/mail_adapters/abstract_spec.rb
396
- - spec/unit/lib/mail_adapters/gmail_spec.rb
397
- - spec/unit/lib/mail_adapters/mailgun_spec.rb
398
- - spec/unit/lib/mail_adapters/mailtrap_spec.rb
399
- - spec/unit/lib/mailgun_api/client_spec.rb
400
- - spec/unit/lib/mailgun_api/connector_spec.rb
401
- - spec/unit/lib/mailgun_api/response_spec.rb
402
- - spec/unit/lib/mailtrap_api/client_spec.rb
403
- - spec/unit/lib/utils/string_extensions_spec.rb
404
- - spec/unit/lib/web/base_section_spec.rb
405
- - spec/unit/lib/web/element_dsl_spec.rb
406
- - spec/unit/lib/web/iframe_dsl_spec.rb
407
- - spec/unit/lib/web/page_dsl_spec.rb
408
- - spec/unit/lib/web/page_spec.rb
409
- - spec/unit/lib/web/page_validator_spec.rb
410
- - spec/unit/lib/web/section_dsl_spec.rb
411
- - spec/unit/lib/web/section_spec.rb
412
- - spec/unit/version_spec.rb
413
- homepage: http://strongqa.github.io/howitzer/
333
+ homepage: https://howitzer-framework.io/
414
334
  licenses:
415
335
  - MIT
416
- metadata: {}
336
+ metadata:
337
+ bug_tracker_uri: https://github.com/strongqa/howitzer/issues
338
+ changelog_uri: https://github.com/strongqa/howitzer/blob/master/CHANGELOG.md
339
+ documentation_uri: https://www.rubydoc.info/gems/howitzer/2.4.0
340
+ source_code_uri: https://github.com/strongqa/howitzer
341
+ rubygems_mfa_required: 'false'
417
342
  post_install_message:
418
343
  rdoc_options: []
419
344
  require_paths:
@@ -422,66 +347,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
422
347
  requirements:
423
348
  - - ">="
424
349
  - !ruby/object:Gem::Version
425
- version: 2.2.2
350
+ version: 2.6.8
426
351
  required_rubygems_version: !ruby/object:Gem::Requirement
427
352
  requirements:
428
353
  - - ">="
429
354
  - !ruby/object:Gem::Version
430
355
  version: '0'
431
356
  requirements: []
432
- rubyforge_project:
433
- rubygems_version: 2.6.8
357
+ rubygems_version: 3.2.33
434
358
  signing_key:
435
359
  specification_version: 4
436
360
  summary: Ruby based framework for acceptance testing
437
- test_files:
438
- - features/cli_help.feature
439
- - features/cli_new.feature
440
- - features/cli_unknown.feature
441
- - features/cli_update.feature
442
- - features/cli_version.feature
443
- - features/step_definitions/common_steps.rb
444
- - features/support/env.rb
445
- - spec/config/custom.yml
446
- - spec/spec_helper.rb
447
- - spec/support/generator_helper.rb
448
- - spec/support/logger_helper.rb
449
- - spec/support/shared_examples/capybara_context_holder.rb
450
- - spec/support/shared_examples/capybara_methods_proxy.rb
451
- - spec/support/shared_examples/dynamic_section_methods.rb
452
- - spec/support/shared_examples/element_dsl.rb
453
- - spec/unit/generators/base_generator_spec.rb
454
- - spec/unit/generators/config_generator_spec.rb
455
- - spec/unit/generators/cucumber_generator_spec.rb
456
- - spec/unit/generators/emails_generator_spec.rb
457
- - spec/unit/generators/prerequisites_generator_spec.rb
458
- - spec/unit/generators/root_generator_spec.rb
459
- - spec/unit/generators/rspec_generator_spec.rb
460
- - spec/unit/generators/tasks_generator_spec.rb
461
- - spec/unit/generators/turnip_generator_spec.rb
462
- - spec/unit/generators/web_generator_spec.rb
463
- - spec/unit/lib/cache_spec.rb
464
- - spec/unit/lib/capybara_helpers_spec.rb
465
- - spec/unit/lib/email_spec.rb
466
- - spec/unit/lib/gmail_api/client_spec.rb
467
- - spec/unit/lib/howitzer_spec.rb
468
- - spec/unit/lib/init_spec.rb
469
- - spec/unit/lib/log_spec.rb
470
- - spec/unit/lib/mail_adapters/abstract_spec.rb
471
- - spec/unit/lib/mail_adapters/gmail_spec.rb
472
- - spec/unit/lib/mail_adapters/mailgun_spec.rb
473
- - spec/unit/lib/mail_adapters/mailtrap_spec.rb
474
- - spec/unit/lib/mailgun_api/client_spec.rb
475
- - spec/unit/lib/mailgun_api/connector_spec.rb
476
- - spec/unit/lib/mailgun_api/response_spec.rb
477
- - spec/unit/lib/mailtrap_api/client_spec.rb
478
- - spec/unit/lib/utils/string_extensions_spec.rb
479
- - spec/unit/lib/web/base_section_spec.rb
480
- - spec/unit/lib/web/element_dsl_spec.rb
481
- - spec/unit/lib/web/iframe_dsl_spec.rb
482
- - spec/unit/lib/web/page_dsl_spec.rb
483
- - spec/unit/lib/web/page_spec.rb
484
- - spec/unit/lib/web/page_validator_spec.rb
485
- - spec/unit/lib/web/section_dsl_spec.rb
486
- - spec/unit/lib/web/section_spec.rb
487
- - spec/unit/version_spec.rb
361
+ test_files: []
data/.coveralls.yml DELETED
@@ -1 +0,0 @@
1
- service_name: travis-ci
data/.gitignore DELETED
@@ -1,14 +0,0 @@
1
- coverage
2
- .idea
3
- .rvmrc
4
- *.gem
5
- vendor/bundle/*
6
- spec/log/*
7
- Gemfile.lock
8
- doc
9
- .yardoc
10
- tmp/*
11
- .bundle
12
- **/.DS_Store
13
- .ruby-version
14
- .byebug_history
data/.rspec DELETED
@@ -1,3 +0,0 @@
1
- --color
2
- --require fuubar
3
- --format Fuubar
data/.rubocop.yml DELETED
@@ -1,51 +0,0 @@
1
- # See full list of defaults here: https://github.com/bbatsov/rubocop/blob/master/config/default.yml
2
- # To see all cops used see here: https://github.com/bbatsov/rubocop/blob/master/config/enabled.yml
3
-
4
- AllCops:
5
- TargetRubyVersion: 2.3
6
- DisplayCopNames: true
7
-
8
- LineLength:
9
- Max: 120
10
-
11
- Layout/CaseIndentation:
12
- Enabled: false
13
-
14
- Style/EmptyElse:
15
- Enabled: false
16
-
17
- Lint/AmbiguousRegexpLiteral:
18
- Enabled: false
19
-
20
- Lint/AmbiguousBlockAssociation:
21
- Enabled: false
22
-
23
- Lint/RescueWithoutErrorClass:
24
- Enabled: false
25
-
26
- Style/CaseEquality:
27
- Enabled: false
28
-
29
- Style/YodaCondition:
30
- Enabled: false
31
-
32
- MethodLength:
33
- Max: 30
34
-
35
- Style/TrivialAccessors:
36
- AllowDSLWriters: true
37
-
38
- Style/FrozenStringLiteralComment:
39
- Enabled: false
40
-
41
- Metrics/ModuleLength:
42
- Max: 150
43
-
44
- Metrics/BlockLength:
45
- Enabled: false
46
-
47
- Style/MixinGrouping:
48
- EnforcedStyle: separated
49
- Exclude:
50
- - '**/*_steps.rb'
51
- - 'tmp/**'
data/.ruby-gemset DELETED
@@ -1 +0,0 @@
1
- howitzer
data/.travis.yml DELETED
@@ -1,7 +0,0 @@
1
- language: ruby
2
- before_install:
3
- - gem install bundler
4
- rvm:
5
- - 2.2.8
6
- - 2.3.5
7
- - 2.4.2
data/Gemfile DELETED
@@ -1,14 +0,0 @@
1
- source 'https://rubygems.org'
2
- # Specify your gem's dependencies in howitzer.gemspec
3
- group :test do
4
- gem 'coveralls', require: false
5
- gem 'repeater', require: false
6
- gem 'rest-client', require: false
7
- gem 'simplecov', require: false
8
- end
9
- gemspec
10
-
11
- group :development do
12
- gem 'fakeweb', git: 'https://github.com/chrisk/fakeweb.git', branch: 'master'
13
- gem 'rubocop'
14
- end
data/ISSUE_TEMPLATE.md DELETED
@@ -1,16 +0,0 @@
1
- ## Meta
2
- Howitzer Version:
3
- <!-- 2.0.3 -->
4
- Driver and browser information:
5
- <!-- selenium 3.4 ChromeDriver 2.29.461571 Chrome 59 -->
6
- Gem Versions:
7
- <!-- Gem versions involved in the issue -->
8
-
9
- ## Expected Behavior
10
-
11
- ## Actual Behavior
12
-
13
- ## Steps to reproduce
14
- <!--
15
- Please be sure to include the code that is creating the issue along with HTML the code is being run against
16
- -->
data/MAINTENANCE.md DELETED
@@ -1,32 +0,0 @@
1
- # Howitzer Maintenance
2
-
3
- This guide provides detailed instructions how to release a new Howitzer version
4
-
5
- To release a new Howitzer version:
6
-
7
- * Make sure all pull requests have been merged to master branch
8
- * Make sure last build is passed in [TravisCI](https://travis-ci.org/strongqa/howitzer)
9
- * Make sure the code is covered 100% in [Coveralls](https://coveralls.io/github/strongqa/howitzer?branch=master)
10
- * Make sure all gem dependencies are up-to-date with [Gemnasium](https://gemnasium.com/strongqa/howitzer)
11
- * Make sure the code is documented 100% with following command:
12
- ```
13
- rake yard
14
- ```
15
- * [Upgrade](https://github.com/strongqa/howitzer/wiki/Migration-to-new-version) Howitzer examples [Cucumber](https://github.com/strongqa/howitzer_example_cucumber), [Rspec](https://github.com/strongqa/howitzer_example_rspec) and [Turnip](https://github.com/strongqa/howitzer_example_turnip) to last version of code from master and make sure all builds are green
16
- * Bump [version](lib/howitzer/version.rb). Please note howitzer uses [semantic versioning](http://semver.org/)
17
- * Verify and actualize [ChangeLog](CHANGELOG.md)
18
- * Commit all changes and push to origin master
19
- * Specify credentials for Rubygems.org (once only) with following commands:
20
- ```bash
21
- curl https://rubygems.org/api/v1/api_key.yaml > ~/.gem/credentials
22
- chmod 0600 ~/.gem/credentials
23
- ```
24
- * Release Gem with following command:
25
- ```bash
26
- rake release
27
- ```
28
- * Verify successful release on [Rubygems](https://rubygems.org/gems/howitzer)
29
- * Force API documentation indexing for the new version on [Rubygems](https://rubygems.org/gems/howitzer)
30
- * Update new link to documentation on [web site](https://github.com/romikoops/howitzer-framework.io/tree/gh-pages) Note: The web site will be updated automatically after pushing code to Github
31
- * Update [Howitzer Guides](https://github.com/strongqa/docs.howitzer-framework.io/blob/gh-pages/README.md) regarding new changes
32
- * Notify Community (Gitter, Twitter, Google Group) about the new release
data/Rakefile DELETED
@@ -1,38 +0,0 @@
1
- require 'rubygems'
2
- require 'bundler'
3
- Bundler.setup
4
-
5
- require 'rake'
6
- require 'yard'
7
- require 'rspec/core/rake_task'
8
- require 'cucumber/rake/task'
9
- require 'rubocop/rake_task'
10
-
11
- Bundler::GemHelper.install_tasks
12
- RSpec::Core::RakeTask.new(:spec) { |_spec| }
13
-
14
- Cucumber::Rake::Task.new(:cucumber, 'Run all cucumber features') do |t|
15
- t.fork = false
16
- end
17
-
18
- RuboCop::RakeTask.new
19
-
20
- YARD::Rake::YardocTask.new { |_t| }
21
-
22
- namespace :yard do
23
- desc 'Validate yard coverage'
24
- task :validate do
25
- log = StringIO.new
26
- YARD::Logger.instance(log)
27
- doc = YARD::CLI::Yardoc.new
28
- doc.use_document_file = false
29
- doc.use_yardopts_file = false
30
- doc.generate = false
31
- doc.run('--list-undoc')
32
- output = log.string
33
- puts output
34
- exit(1) unless output.include?('100.00% documented')
35
- end
36
- end
37
-
38
- task default: %i[rubocop yard:validate spec cucumber]
@@ -1,31 +0,0 @@
1
- Feature: Howitzer CLI Help
2
-
3
- Scenario Outline: Run with help global option
4
- When I run `howitzer <option>`
5
- Then the output should be exactly:
6
- """
7
- NAME
8
- howitzer - Ruby based framework for acceptance testing
9
-
10
- SYNOPSIS
11
- howitzer [global options] command [command options] [arguments...]
12
-
13
- VERSION
14
- <HOWITZER_VERSION>
15
-
16
- GLOBAL OPTIONS
17
- --help - Show this message
18
- --version - Display the program version
19
-
20
- COMMANDS
21
- help - Shows a list of commands or help for one command
22
- new - Generate new project
23
- update - Upgrade existing project
24
-
25
- """
26
- And the exit status should be 0
27
- Examples:
28
- | option |
29
- | |
30
- | --help |
31
- | -h |