Sha256: 0ab7ded0b896129c4e4ed9d06dfc32479ea8195ce285936df2cf9ceeb6149860

Contents?: true

Size: 1.55 KB

Versions: 12

Compression:

Stored size: 1.55 KB

Contents

Feature: Overview of steps

  Given you're a system administrator
  Who would like to use `aruba`
  But didn't know which steps are available

  Background:
    Given I use a fixture named "cli-app"

  Scenario: Use information found in repository
    Given an executable named "bin/cli" with:
    """
    #!/bin/bash
    git clone https://github.com/cucumber/aruba.git
    cd aruba
    grep -E "When|Given|Then" lib/aruba/cucumber/*.rb | awk -F ":" '{ $1 = ""; print $0}' |sort
    """
    And a file named "features/run.feature" with:
    """
    Feature: Run it
      Scenario: Run command
        When I run `cli`
        Then the output should contain:
        \"\"\"
        Cloning into 'aruba'...
        \"\"\"
        And the output should contain:
        \"\"\"
        Given(/^
        \"\"\"
        And the output should contain:
        \"\"\"
        When(/^
        \"\"\"
        And the output should contain:
        \"\"\"
        Then(/^
        \"\"\"
    """
    When I run `cucumber`
    Then the features should all pass

  Scenario: Use cucumber output formatter
    Given a file named "features/run.feature" with:
    """
    Feature: Run it
      Scenario: Run command
        Given a directory named "features"
        And a file named "features/support/env.rb" with:
        \"\"\"
        require 'aruba/cucumber'
        \"\"\"
        When I run `cucumber --format stepdefs`
        Then the output should contain:
        \"\"\"
        NOT MATCHED BY ANY STEPS
        \"\"\"
    """
    When I run `cucumber`
    Then the features should all pass

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
aruba-win-fix-0.14.2 features/steps/overview.feature
aruba-0.14.2 features/steps/overview.feature
aruba-0.14.1 features/steps/overview.feature
aruba-0.14.0 features/steps/overview.feature
aruba-0.13.0 features/steps/overview.feature
aruba-0.12.0 features/steps/overview.feature
aruba-0.11.2 features/steps/overview.feature
aruba-0.11.1 features/steps/overview.feature
aruba-0.11.0.pre4 features/steps/overview.feature
aruba-0.11.0.pre3 features/steps/overview.feature
aruba-0.11.0.pre2 features/steps/overview.feature
aruba-0.11.0.pre features/steps/overview.feature