Class: Swgr2rb::ScaffoldGenerator
- Inherits:
-
Object
- Object
- Swgr2rb::ScaffoldGenerator
- Includes:
- ScaffoldGeneratorConstants
- Defined in:
- lib/scaffold_generator/scaffold_generator.rb
Overview
ScaffoldGenerator generates a scaffold of a testing framework.
Constant Summary
Constants included from ScaffoldGeneratorConstants
Swgr2rb::ScaffoldGeneratorConstants::ENDPOINT_MODELS_DIR, Swgr2rb::ScaffoldGeneratorConstants::FEATURES_DIR, Swgr2rb::ScaffoldGeneratorConstants::FEATURE_FILE_NAME, Swgr2rb::ScaffoldGeneratorConstants::FF_NAME, Swgr2rb::ScaffoldGeneratorConstants::FF_SCENARIO, Swgr2rb::ScaffoldGeneratorConstants::FF_STEPS, Swgr2rb::ScaffoldGeneratorConstants::FF_TAGS, Swgr2rb::ScaffoldGeneratorConstants::HARNESS_DIR, Swgr2rb::ScaffoldGeneratorConstants::PATH_TO_ASSETS
Class Method Summary collapse
Class Method Details
.generate_example_feature_file(params) ⇒ Object
19 20 21 22 |
# File 'lib/scaffold_generator/scaffold_generator.rb', line 19 def generate_example_feature_file(params) create_features_component_dir(params) FeatureFileGenerator.new(params).generate_feature_file end |
.generate_scaffold ⇒ Object
14 15 16 17 |
# File 'lib/scaffold_generator/scaffold_generator.rb', line 14 def generate_scaffold create_harness_dir copy_scaffold end |