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.13 legacy_features/exclude_files.feature
cucumber-1.3.12 legacy_features/exclude_files.feature
cucumber-1.3.11 legacy_features/exclude_files.feature
cucumber-1.3.10 legacy_features/exclude_files.feature
cucumber-1.3.9 legacy_features/exclude_files.feature
candlepin-api-0.4.0 bundle/ruby/1.9.1/gems/cucumber-1.2.1/legacy_features/exclude_files.feature
candlepin-api-0.4.0 bundle/ruby/1.8/gems/cucumber-1.2.1/legacy_features/exclude_files.feature
candlepin-api-0.4.0 bundle/ruby/gems/cucumber-1.2.1/legacy_features/exclude_files.feature
cucumber-1.3.8 legacy_features/exclude_files.feature
cucumber-1.3.7 legacy_features/exclude_files.feature
cucumber-1.3.6 legacy_features/exclude_files.feature
cucumber-1.3.5 legacy_features/exclude_files.feature
cucumber-1.3.4 legacy_features/exclude_files.feature
cucumber-1.3.3 legacy_features/exclude_files.feature
cucumber-1.3.2 legacy_features/exclude_files.feature
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/cucumber-1.2.1/legacy_features/exclude_files.feature
cucumber-1.3.1 legacy_features/exclude_files.feature
cucumber-1.3.0 legacy_features/exclude_files.feature
cucumber-1.2.5 legacy_features/exclude_files.feature
cucumber-1.2.3 legacy_features/exclude_files.feature