Sha256: 76b5a3293e5b5aa8eac51147166a5252d1c90a18666c988331d799b553d22741

Contents?: true

Size: 811 Bytes

Versions: 4

Compression:

Stored size: 811 Bytes

Contents

Feature: steps command
  Background:
    Given a file named "examples/support/env.rb" with:
      """
      require 'cucumberator'
      """
    Given a file named "examples/step_definitions/extra.rb" with:
      """
      When(/I do some magical stuff with '(\w+)'/) do |*args|
        # just example
      end

      """
    Given a file named "examples/steps.feature" with:
      """
      Feature: example
        Scenario: stop where exit
          Then I will write new steps

      """

  Scenario: check `steps` command
    When I run `cucumber examples/steps.feature` interactively
    And I type "steps"
    And I type "exit"
    Then it should pass with:
      """
      :: Yay, you have 2 steps in your pocket:
      /^I will write new steps$/
      /I do some magical stuff with '(\w+)'/
      """

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
cucumberator-1.0.3 features/steps.feature
cucumberator-1.0.2 features/steps.feature
cucumberator-1.0.1 features/steps.feature
cucumberator-1.0.0 features/steps.feature