Sha256: 98da063e07347e848f5fb02eae9ee8dd99c1723301853a517f5ecb9af0345743

Contents?: true

Size: 1.03 KB

Versions: 25

Compression:

Stored size: 1.03 KB

Contents

Feature: Adding the --with-lib flag

  Background:
    When I run `testgen project sample --with-lib --pageobject-driver=watir`

  Scenario: Adding the require_all gem to Gemfile
    Then a file named "sample/Gemfile" should exist
    And the file "sample/Gemfile" should contain "gem 'require_all'"
    
  Scenario: Creating the lib directory
    Then a directory named "sample/lib" should exist

  Scenario: Creating the pages directory in lib
    Then a directory named "sample/lib/pages" should exist
  
  Scenario: Adding lib to loadpath in env.rb
    Then a file named "sample/features/support/env.rb" should exist
    And the file "sample/features/support/env.rb" should contain "$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '../../', 'lib'))"
    
  Scenario: Adding require_all stuff to the env.rb
    Then a file named "sample/features/support/env.rb" should exist
    And the file "sample/features/support/env.rb" should contain "require 'require_all'"
    And the file "sample/features/support/env.rb" should contain "require_all 'lib'"
  

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
testgen-0.9 features/with_lib_option.feature
testgen-0.8.8 features/with_lib_option.feature
testgen-0.8.7 features/with_lib_option.feature
testgen-0.8.6 features/with_lib_option.feature
testgen-0.8.5 features/with_lib_option.feature
testgen-0.8.4 features/with_lib_option.feature
testgen-0.8.3 features/with_lib_option.feature
testgen-0.8.2 features/with_lib_option.feature
testgen-0.8.1 features/with_lib_option.feature
cwtestgen-0.1.6 features/with_lib_option.feature
cwtestgen-0.1.5 features/with_lib_option.feature
cwtestgen-0.1.4 features/with_lib_option.feature
cwtestgen-0.1.3 features/with_lib_option.feature
cwtestgen-0.1.2 features/with_lib_option.feature
cwtestgen-0.1.1 features/with_lib_option.feature
cwtestgen-0.1 features/with_lib_option.feature
testgen-0.8 features/with_lib_option.feature
testgen-0.7 features/with_lib_option.feature
testgen-0.6 features/with_lib_option.feature
testgen-0.5.2 features/with_lib_option.feature