Class: HelpersGenerator

Inherits:
Generator
  • Object
show all
Defined in:
lib/generators/helper_generator.rb

Instance Method Summary collapse

Methods inherited from Generator

#android?, #args, #axe?, #cross_platform?, #cucumber?, #ios?, #mobile?, #rspec?, #selenium?, #selenium_based?, #single_platform?, source_paths, #visual?, #watir?, #web?

Instance Method Details

#generate_helpersObject



6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'lib/generators/helper_generator.rb', line 6

def generate_helpers
  generate_browser_helper
  generate_driver_helper
  generate_appium_helper
  generate_allure_helper

  if visual?
    generate_visual_helper
    generate_visual_spec_helper
  else
    generate_spec_helper
  end
end