Sha256: 0e94c6ca92e95d2c11d247b0a95db0d76ba1920269f0f3fbbe20f3f5daca58eb

Contents?: true

Size: 935 Bytes

Versions: 27

Compression:

Stored size: 935 Bytes

Contents

Feature: Configure working directory of aruba

  As a developer
  I want to configure the working directory of aruba
  In order to have a test directory for each used spec runner - e.g. cucumber or rspec

  Background:
    Given I use the fixture "cli-app"

  Scenario: Default value
    Given a file named "features/support/aruba.rb" with:
    """
    Aruba.configure do |config|
      puts %(The default value is "#{config.working_directory}")
    end
    """
    When I successfully run `cucumber`
    Then the output should contain:
    """
    The default value is "tmp/aruba"
    """

  Scenario: Modify value
    Given a file named "features/support/aruba.rb" with:
    """
    Aruba.configure do |config|
      config.working_directory = 'tmp/cucumber'
    end
    """
    And the default feature-test
    And the default executable
    When I successfully run `cucumber`
    Then a directory named "tmp/cucumber" should exist

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
aruba-0.14.9 features/configuration/working_directory.feature
aruba-0.14.8 features/configuration/working_directory.feature
aruba-0.14.7 features/configuration/working_directory.feature
aruba-0.14.6 features/configuration/working_directory.feature
aruba-0.14.5 features/configuration/working_directory.feature
aruba-0.14.4 features/configuration/working_directory.feature
aruba-0.14.3 features/configuration/working_directory.feature
aruba-win-fix-0.14.2 features/configuration/working_directory.feature
aruba-0.14.2 features/configuration/working_directory.feature
aruba-0.14.1 features/configuration/working_directory.feature
aruba-0.14.0 features/configuration/working_directory.feature
aruba-0.13.0 features/configuration/working_directory.feature
aruba-0.12.0 features/configuration/working_directory.feature
aruba-0.11.2 features/configuration/working_directory.feature
aruba-0.11.1 features/configuration/working_directory.feature
aruba-0.11.0.pre4 features/configuration/working_directory.feature
aruba-0.11.0.pre3 features/configuration/working_directory.feature
aruba-0.11.0.pre2 features/configuration/working_directory.feature
aruba-0.11.0.pre features/configuration/working_directory.feature
aruba-0.10.2 features/configuration/working_directory.feature