File: overview.feature

package info (click to toggle)
ruby-aruba 0.14.8-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,216 kB
  • sloc: ruby: 7,951; sh: 21; makefile: 12
file content (25 lines) | stat: -rw-r--r-- 719 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Feature: Overview of steps

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

  Scenario: Use cucumber output formatter
    Given I use a fixture named "cli-app"
    And 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