Sha256: 92751f60e2f0389eb00b513ad5941a08ee5bacc92395ff5ed41e0b72e330ca38

Contents?: true

Size: 1 KB

Versions: 10

Compression:

Stored size: 1 KB

Contents

Feature: Excluding ruby and feature files from runs
  Developers are able to easily exclude files from cucumber runs
  This is a nice feature to have in conjunction with profiles, so you can exclude
  certain environment files from certain runs.

  Scenario: exclude ruby files
    Given an empty file named "features/support/dont_require_me.rb"
    And an empty file named "features/step_definitions/fooz.rb"
    And an empty file named "features/step_definitions/foof.rb"
    And an empty file named "features/step_definitions/foot.rb"
    And an empty file named "features/support/require_me.rb"

    When I run `cucumber features -q --verbose --exclude features/support/dont --exclude foo[zf]`

    Then "features/support/require_me.rb" should be required
    And "features/step_definitions/foot.rb" should be required
    And "features/support/dont_require_me.rb" should not be required
    And "features/step_definitions/foof.rb" should not be required
    And "features/step_definitions/fooz.rb" should not be required

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
cucumber-2.0.0.rc.5 features/docs/cli/exclude_files.feature
cucumber-2.0.0.rc.4 features/docs/cli/exclude_files.feature
cucumber-2.0.0.rc.3 features/docs/cli/exclude_files.feature
cucumber-2.0.0.rc.2 features/docs/cli/exclude_files.feature
cucumber-2.0.0.rc.1 features/docs/cli/exclude_files.feature
cucumber-2.0.0.beta.5 features/docs/cli/exclude_files.feature
cucumber-2.0.0.beta.4 features/docs/cli/exclude_files.feature
cucumber-2.0.0.beta.3 features/docs/cli/exclude_files.feature
cucumber-2.0.0.beta.2 features/docs/cli/exclude_files.feature
cucumber-2.0.0.beta.1 features/docs/cli/exclude_files.feature