Sha256: b10899add1a1587e756120c65443c7ad4d3904c5f50b425ead4795d3e566040e

Contents?: true

Size: 1.02 KB

Versions: 219

Compression:

Stored size: 1.02 KB

Contents

Feature: Exclude ruby and feature files from runs
  Developers should be 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 a standard Cucumber project directory structure
    And a file named "features/support/dont_require_me.rb"
    And a file named "features/step_definitions/fooz.rb"
    And a file named "features/step_definitions/foof.rb"
    And a file named "features/step_definitions/foot.rb"
    And a 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

219 entries across 217 versions & 23 rubygems

Version Path
cucumber-1.3.20 legacy_features/exclude_files.feature
cucumber-1.3.19 legacy_features/exclude_files.feature
cucumber-1.3.18 legacy_features/exclude_files.feature
cucumber-1.3.17 legacy_features/exclude_files.feature
aslakhellesoy-cucumber-0.3.10 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.100 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.101.2 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.101 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.102.1 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.102.2 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.102 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.103 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.104 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.11.1 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.11.200907091518 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.11.3 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.11.5 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.11.6 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.11 features/exclude_files.feature
aslakhellesoy-cucumber-0.3.3.1 features/exclude_files.feature