Sha256: a3c564672250e7be27a18f370306785bf2ac02895f625f6f53350925c8a3bef3

Contents?: true

Size: 968 Bytes

Versions: 4

Compression:

Stored size: 968 Bytes

Contents

Feature: stop execution on cucumberator step & exit sucessfully
  Scenario: using cucumberator step, but cucumberator not required
    Given a file named "examples/simple_hook_test.feature" with:
      """
      Feature: example
        Scenario: stop and exit
          Then I will write new steps
      """
    When I run `cucumber examples/simple_hook_test.feature`
    Then the output should contain "1 step (1 undefined)"

  Scenario: using cucumberator step with cucumberator required
    Given a file named "examples/simple_hook_test.feature" with:
      """
      Feature: example
        Scenario: stop and exit
          Then I will write new steps
      """
    And a file named "examples/support/env.rb" with:
      """
      require 'cucumberator'
      """
    When I run `cucumber examples/simple_hook_test.feature` interactively
    And I type "exit"
    Then it should pass with:
      """
      1 scenario (1 passed)
      1 step (1 passed)
      """

Version data entries

4 entries across 4 versions & 1 rubygems

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