File: issue0030.feature

package info (click to toggle)
behave 1.2.6-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,160 kB
  • sloc: python: 19,857; makefile: 137; sh: 18
file content (21 lines) | stat: -rw-r--r-- 622 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
@issue
Feature: Issue #30 "behave --version" runs features and shows no version

  Scenario: Ensure environment assumptions are correct (Sanity Check)
    Given a new working directory
    When I run "behave"
    Then it should fail
    And the command output should contain:
      """
      No steps directory in '{__WORKDIR__}/features'
      """

  Scenario: Ensure --version option is processed correctly
    Given a new working directory
    When I run "behave --version"
    Then it should pass
    And the command output should not contain:
      """
      No steps directory in '{__WORKDIR__}/features'
      """