Sha256: 5fa1fb1e1a8766d111e31ede357b40b062b15674d94416df021811b60ef8742c

Contents?: true

Size: 983 Bytes

Versions: 15

Compression:

Stored size: 983 Bytes

Contents

Feature: Bootstrapping a new project
  In order to have the best chances of getting up and running with cucumber
  As a new cucumber user
  I want cucumber to give helpful error messages in basic situations

 @spawn
 Scenario: running cucumber against a non-existing feature file
  Given a directory without standard Cucumber project directory structure
    When I run `cucumber`
    Then it should fail with:
      """
      No such file or directory - features. Please create a features directory to get started. (Errno::ENOENT)
      """

 @spawn
 Scenario: does not load ruby files in root if features directory is missing
  Given a directory without standard Cucumber project directory structure
  And a file named "should_not_load.rb" with:
    """
    puts 'this will not be shown'
    """
  When I run `cucumber`
  Then it should fail with exactly:
    """
    No such file or directory - features. Please create a features directory to get started. (Errno::ENOENT)

    """

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cucumber-1.3.17 features/bootstrap.feature
cucumber-1.3.16 features/bootstrap.feature
cucumber-1.3.15 features/bootstrap.feature
cucumber-1.3.14 features/bootstrap.feature
cucumber-1.3.13 features/bootstrap.feature
cucumber-1.3.12 features/bootstrap.feature
cucumber-1.3.11 features/bootstrap.feature
cucumber-1.3.10 features/bootstrap.feature
cucumber-1.3.9 features/bootstrap.feature
cucumber-1.3.8 features/bootstrap.feature
cucumber-1.3.7 features/bootstrap.feature
cucumber-1.3.6 features/bootstrap.feature
cucumber-1.3.5 features/bootstrap.feature
cucumber-1.3.4 features/bootstrap.feature
cucumber-1.3.3 features/bootstrap.feature